Author Topic: b2 not opening workspace from command line  (Read 1302 times)

b

  • Senior Community Member
  • Posts: 308
  • Hero Points: 26
b2 not opening workspace from command line
« on: August 08, 2016, 09:57:33 pm »
I tried a feature I rarely used and that was to launch SE from the command line, but provide it the workspace as a parameter.    When I try it, I get a pop up with "Workspace '/home/bjkurlex/Haswell/t/CM.vpw' not found"

First, I was in /home/bjkurlex/CM and launch SE with "vs CM.vpw" (CM.vpw residing in the directory I launched SE).

I rolled back to 20.0.3 (binary install and original ~/.slickedit) and as above, tried it and it opened my CM workspace as expected.  Rolled forward to the beta2, and got the error.

Since my "default" (last opened) workspace was Haswell, it appears that the beta is trying to find the workspace relevant to the old workspace, not the current directory when launch SE.   I got similar errors, even when I tried "vs ./CM.vpw".   HOWEVER, it worked if I fully qualified the path "vs /home/bjkurlex/CM/CM.vpw"

Again, all times I tried to execute this from the command line, I was in my /home/bjkurlex/CM directory where the CM.vpw file resides for the project/workspace.

Ubuntu 14.04 LTS (x86_64)

/home/bjkurlex/CM/CM.vpw (nothing fancy):
<!DOCTYPE Workspace SYSTEM "http://www.slickedit.com/dtd/vse/10.0/vpw.dtd">
<Workspace Version="10.0" VendorName="SlickEdit" TagFileDir="tagfiles/">
        <Projects>
                <Project File="CM.vpj"/>
        </Projects>
</Workspace>
« Last Edit: August 08, 2016, 10:02:53 pm by b »

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5177
  • Hero Points: 428
Re: b2 not opening workspace from command line
« Reply #1 on: August 08, 2016, 10:11:26 pm »
Thanks for the details. We will look into this

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5177
  • Hero Points: 428
Re: b2 not opening workspace from command line
« Reply #2 on: August 09, 2016, 03:11:38 am »
Fixed for beta 3