You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case the program part of the command contains spaces, the process is not
started i.e. "C:\Program Files\Java\jre1.6.0\bin\java.exe" -jar
"my application.jar" or "C:\Program Files\MyApplication\application.exe"
does not work.
Easiest way to avoid the problem is to avoid spaces in the command. Other
option is to add the directory containing the command to PATH environment
variable. Environment variable can be set also in Robot Framework's test
data to avoid unneccessary dependencies in the test execution environment.
In case spaces cannot be avoided, startup script can be used to hide the
command with spaces. On Windows this issue can be avoided also by using DOS
format file names e.g. C:\PROGRA~1\Java\jre1.6.0\bin\java.exe -jar "my
application.jar".
As there are multiple workarounds and fixing the problem with Jython 2.2 is
not easy, this issue won't be fixed before Robot
Framework is supported only with Jython 2.5 and subprocess module can be
used for the implementation.
Original issue reported on code.google.com by [email protected] on 12 Feb 2010 at 8:08
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 12 Feb 2010 at 8:08The text was updated successfully, but these errors were encountered: