two consecutive calls for Runtime.getRuntime.exec()
my code contains two consecutive calls for Runtime.getRuntime.exec() as follows:
runtimeref.exec(command1);
runtimeref.exec(command2);
where runtimeref = Runtime.getRuntime();
But only command1 is executed and command2 is not executed.
No exception is thrown.
what can be the reason

