← Back to team overview

sikuli-driver team mailing list archive

[Bug 1813494] Re: [1.1.4] Windows: Working dir not set

 

I added the feature this way:

App app = new App("C:\\Path\\to\\runnable.exe");
app.setWorkDir();
app.open();

which sets the working directory to the absolute path of the directory
the runnable is located.

If you want to specify a different or separate working dir:
App app = new App("C:\\Path\\to\\runnable.exe");
app.setWorkDir("C:\\Path\\to\\someOtherDir");
app.open();

I would appreciate your tests (could not yet test it on Windows ;-)

fixed as 2019-02-03 build #190



** Changed in: sikuli
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1813494

Title:
  [1.1.4] Windows: Working dir not set

Status in Sikuli:
  Fix Committed

Bug description:
  With an App object created with the path to an executable.

  When doing app.open().

  The working directory for the process is not set, hence causing some
  processes to be unable to run or function properly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1813494/+subscriptions


References