ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Melissa Hao <melissa....@oracle.com>
Subject getting the exec task to run a script which spawns a child process
Date Fri, 28 Feb 2003 17:35:45 GMT
Hi,

I use the exec task to run a shell script called foo.sh.   foo.sh has "bar &" inside of
it, which spawns a background child process.  foo.sh finishes pretty quickly, but the exec
task waits for bar to finish before moving on.  This is a problem for me because bar is supposed
to run indefinitely.

I searched this mailing list but I haven't found my exact problem.  I found http://marc.theaimsgroup.com/?l=ant-user&m=100621497023872&w=2,
which explains a workaround for getting foo.sh to run indefinitely.  Do I use the same workaround
to get bar to run indefeintely?


thanks
Melissa



Mime
View raw message