Tracker: Bugs

5 Spaces in Arguments - ID: 1343908
Last Update: Comment added ( grzegok )

Version: 2.0.RC3


With the launch4j executables it's unfortunately
impossible to set arguments with spaces.

e.g:
myshell.exe "C:\Program Files\Test\abc.exe"

and with this small code:

public static void main(String[] args) {
for (int c=0; c < args.length; c++){
System.err.println((c+1) + ") " +args[c]);
}
}

results:

1) C:\Program
2) Files\Test\abc.exe

but with a normal java call like:
java -jar myshell.jar

you get the corrent result:

1) C:\Program Files\Test\abc.exe

It's hard to make an workaround in the java files,
because the double-quotes are removed.

Regards,

Steve


Steve Alberty ( staybyte ) - 2005-10-31 06:09:37 PST

5

Closed

Fixed

Grzegorz Kowal

General

None

Public


Comment ( 1 )

Date: 2005-10-31 10:51:34 PST
Sender: grzegokProject Admin

Logged In: YES
user_id=917657

Fixed (2.0.0)


Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Open 2005-10-31 10:51:34 PST grzegok
resolution_id None 2005-10-31 10:51:34 PST grzegok
assigned_to nobody 2005-10-31 10:51:34 PST grzegok
close_date - 2005-10-31 10:51:34 PST grzegok