Currently I run my program like this:
java program arg1 arg2 arg3...
There are a variable number or arguments. Is there some BASH script or something I can package with my program to allow me to run it just like
program arg1 arg2 arg3
and continue to allow me to have variable arguments.
I just care about Unix systems.
I’m sorry for this simple question: I’m a Java developer, not a BASH scriptor.
Here:
Or if you want the bash to exit when java is called, use this:
(This replaces the
bashprocess with thejavaprocess instead of waiting untiljavareturns.)