From: Les Mikesell <lesmikesell@xxxxxxxxx> Reply-To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx> To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx> Subject: RE: freeing the prompt Date: Fri, 17 Feb 2006 14:27:29 -0600 On Fri, 2006-02-17 at 14:19, azeem ahmad wrote: > > > > the & doesnt seem to work with a scrip > when i run > ./dicom -v & it works in its ordinary manner and captures the prompt :( It is still reading input from the terminal connection it inherited and will send output and errors there. You need to redirect stdin, stdout, and stderr from/to appropriate places if you don't want that. You might also want to run it with 'nohup' so that signals are ignored and it keeps running if you disconnect. --
the problem is that i have to execute this script on a remote server so if i exec it in such way and then close my connection, most probably the script will be closed too