in reply to Re^2: running jar file with multiple arguments in perl
in thread running jar file with multiple arguments in perl
OPEN PIPE, "|java -jar program.jar";
That's barely valid Perl code. If you get error messages, tell us those error messages. When I run your Perl code, I get the following error message:
Useless use of a constant in void context at -e line 1. Can't locate object method "OPEN" via package "PIPE" (perhaps you forg +ot to load "PIPE"?) at -e line 1.
This is because your code makes little sense without further context. I highly doubt that your program is even launching your jar file for you at all.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: running jar file with multiple arguments in perl
by compiler9999 (Initiate) on May 29, 2010 at 14:29 UTC | |
by Corion (Patriarch) on May 29, 2010 at 16:03 UTC | |
by Anonymous Monk on May 31, 2010 at 07:19 UTC | |
|
Re^4: running jar file with multiple arguments in perl
by compiler9999 (Initiate) on May 29, 2010 at 14:06 UTC | |
by Corion (Patriarch) on May 29, 2010 at 14:08 UTC |