Skip to content

Spaces in Start Application keyword's command are not working in RemoteApplications library #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
GoogleCodeExporter opened this issue Apr 6, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant