Hi,
exec("command.com /C program.exe");
should work...
Olivier

Tawee Ekudomsin wrote:
Hi all,

In beanshell on Windows platform, is there a way to run an external command
in a new command prompt? I just want to interact with this program after I
started it.

I've tried with:
- beanshell's exec("start program.exe") command
- Runtime.exec("start program.exe")

But I got a Target exception. Anyone can help?

Thanks a lot,
Tawee.


_______________________________________________
Beanshell-users mailing list
Beanshell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/beanshell-users