← Back to team overview

sikuli-driver team mailing list archive

[Bug 1218755] Re: [request] The context path should been set when start new application

 

Append an example

Suppose there is an application name test.exe under the directory A.
Whenever the application is started , it start an daemon web service at
the same time to provide service for download the html files in the
folder HTML under A.

if I directly go the A directory , start the test.exe. The service is ok
, I can see the file list in the browser with the host:port

But I use the sikuli code App.open('c:\A\test.exe') , then the service
always return 404 not found error.

I guess the problem maybe the context path of the application process.
So I start the application from App.open() , the context path of the
application process maybe the path where sikuli is located. So the
application process could not find HTML folder .

So whether we should set the context path for the application process.

For example the App.open('c:\A\test.exe') should set the context path to
be 'C:\A'

Maybe I am wrong , need your advice . Thanks.

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

Title:
  [request] The context path should been set when start new application

Status in Sikuli:
  Incomplete

Bug description:
  The application which I need to start from sikuli may need to start a
  internal service from it self. The service need to read the relative
  path folders from it's own directory.

  I try to use the script

  App.open(xxx.exe)

  to start the application , but when I try to get the service , always
  got 404 error.

  Whether the sikuli should provide the parameters to specify the
  context path when start the new application via the App.open api

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


References