in reply to Re: Re: launch and then exit out of app
in thread launch and then exit out of app

Hence my comment about your not specifying which OS you were attempting this on. It is known that fork() doesn't always play nice on Windows.

Suggest you look at the solution proposed by brer flyingmoose here. In order to do the exit that you ask for replace his line that says $proc->wait(); with exit(0); and you should be OK.

DISCLAIMER: Don't have a Windows 2000 box to test this on so do your own testing


Peter L. Berghold -- Unix Professional
Peter at Berghold dot Net
   Dog trainer, dog agility exhibitor, brewer of fine Belgian style ales. Happiness is a warm, tired, contented dog curled up at your side and a good Belgian ale in your chalice.

Replies are listed 'Best First'.
Re: Re: Re: Re: launch and then exit out of app
by flyingmoose (Priest) on Feb 03, 2004 at 19:51 UTC
    cowdawg: I'm going to remove the line regarding the wait. Good catch.