Answer the question
In order to leave comments, you need to log in
How to close the terminal after running an application via Apache ANT?
Using in ANT, I want to run a command like: #> evince /home/my.pdf & exit
I try the following code:
<exec executable="/bin/sh">
<arg value="-c"/>
<arg value="evince /home/my.pdf & exit"/>
</exec>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question