Input Data from Command Line

I am able to launch cmd.exe and pass arguments with below:

Examples tested:

exec(new String[] {"cmd", "/K", "start", "cmd.exe", "/K","help"});
exec(new String[] {"cmd", "/K", "start", "cmd.exe", "/K","ping 127.0.0.1"});

:slight_smile:

1 Like