Use the "spawn" and "fork" attributes of <exec> task (see Ant User manual for usage)
-----Message d'origine----- De : jantje [mailto:[EMAIL PROTECTED] Envoyé : lundi 7 juillet 2008 20:45 À : [email protected] Objet : Continu exec task, while leaving ant Hi there, is it possible to start (in ant) something in a shell and let this running, while stopping ant. f.i: <target name="emulateProjectIso" depends="license, testIsoExists" description="Emulate the project iso" unless="file.exists"> <echo level="warning" message="Not supported when booting from live cd"/> <exec executable="/bin/bash" failonerror="true"> <arg value="-c" /> <arg value="qemu -no-kqemu -m 512 -cdrom ${basedir}/build/liveCd/iso/project-r*.iso"/> </exec> </target> So "ant emulateProjectIso" starts, thr program qemu eulates the cd.. qemu is still running, but ant has stopped.. -- View this message in context: http://www.nabble.com/Continu-exec-task%2C-while-leaving-ant-tp18315876p1831 5876.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
