« Return to Thread: [Q] how can I start a shell process and return immediately?

Re: [Q] how can I start a shell process and return immediately?

by Sebastian Hungerecker-2 :: Rate this Message:

Reply to Author | View in Thread

Stephen Bannasch wrote:
>    java -cp <classpath> <main_class>&
>
> starts the Java program in a background process thread and returns
> control the shell.
>
> When I try this from a Ruby program the program blocks until the Java
> program is terminated.

I don't know what exactly "this" is, but system("some_command &") works just
fine here.


--
Jabber: sepp2k@...
ICQ: 205544826

 « Return to Thread: [Q] how can I start a shell process and return immediately?