Run shell command from jar?
- by phineas
The usual way to call a shell command from java is something like that:
Process process = Runtime.getRuntime().exec(command);
and works usually fine.
But now I've exported my project to an executable jar file and callig shell commands doesn't work any more. Are there any explanations, solutions or workarounds for this problem?
phineas
--
edit:
even keyboard interrupts (ctrl+c; ctrl+d) aren't recognized.
terminal input won't work after killing java