coherence-community / oracle-bedrock

Oracle Bedrock
Other
55 stars 31 forks source link

Local Application Builders must escape executable names if they contain spaces #180

Closed brianoliver closed 9 years ago

brianoliver commented 9 years ago

For some reason, Windows may intermittently ignore or accept command line arguments containing spaces.

For example, on Windows 7, the following is sometimes ok (i.e.: it works). Sometimes it doesn't.

C:\Program Files\Java\jdk1.7.0_71\jre\bin\java

The solution is to ensure all command line executables are escaped in double quotes. e.g.:

"C:\Program Files\Java\jdk1.7.0_71\jre\bin\java"

If they contain spaces.

brianoliver commented 8 years ago

This issue was imported from JIRA ORACLETOOLS-180

brianoliver commented 9 years ago

Reported by @brianoliver

brianoliver commented 9 years ago

Marked as fixed by @brianoliver on Monday, November 3rd 2014, 2:10:09 pm