FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 334 : add ability for exported applications to take command line arguments
Last modified: 2006-05-12 09:29
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
LATER -
Pr
i
ority:
P3
Severity:
enhancement
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
Antti Laisi
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2006-04-29 06:43
The sh lauch script doesn't accept arguments. This is easily fixed by changing
java -Djava.library.path="$APPDIR" [..] <sketchname>
to
java -Djava.library.path="$APPDIR" [..] <sketchname> $@
but this is fairly annoying as the changes get overwritten every time the
app is exported. I see no problem with $@ being in the default export.
Additional Comment
#1 From fry 2006-05-12 09:29
we don't support it on linux since it won't work on any of the other
platforms. if you want to change the default for your platform, you can
modify the template scripts in /lib.