Use start on the command line to get a background task (actually, it just
starts a new DOS window and executes the command).

-Jason

    > -----Original Message-----
    > From: Matthew Inger [mailto:[EMAIL PROTECTED]]
    > Sent: Friday, August 03, 2001 9:35 AM
    > To: [EMAIL PROTECTED]
    > Subject: Re: running daemons
    > 
    > 
    > I believe, if you tell your call to "<java>" (if that's 
    > what you're 
    > using) to
    > "fork", then control should return to ant right away.  
    > (ANT experts, please
    > correct me if i'm wrong here.  If so, it would be a nice 
    > option to have).
    > If it's a shell command, on unix, append the '&' 
    > character to the command.
    > As far as windows, you'll have to ask a windows expert 
    > how to background
    > a program.
    > 
    > 
    > 
    > Lauren Commons wrote:
    > 
    > >I've looked for the answer to this, but couldn't find
    > >it.  If I missed it in the docs, please let me know...
    > >I am building and testing (!) an asynchronous
    > >messaging system (based on JMS).  For automated
    > >testing, I'm looking for a way to start the server in
    > >it's own process then run a test script and retrieve
    > >the output for comparison to expected results.
    > >The problem is how do I have Ant kick off the server
    > >then move on to the next task (calling a junit test)?
    > >
    > >Thanks
    > >Mr. Lauren Commons
    > >
    > >=====
    > >-------------------------
    > >Mr Lauren Commons
    > >A person of moderate zeal
    > >
    > >__________________________________________________
    > >Do You Yahoo!?
    > >Make international calls for as low as $.04/minute with 
    > Yahoo! Messenger
    > >http://phonecard.yahoo.com/
    > >
    > 
    > 
    > -- 
    > Matt Inger ([EMAIL PROTECTED])
    > Sedona Corporation
    > 455 S. Gulph Road, Suite 300
    > King of Prussia, PA 19406
    > (484) 679-2213
    > "Self-respect - the secure feeling that no one,
    >  as yet, is suspicious." -H.L. Mencken 
    > 
    > 
    > 
    > 
    > 

Reply via email to