$$ in Unix shell should tell you last process PID

Something like:
java -jar ..
echo $$ > /tmp/myjavapid
kill ` cat /tmp/myjavapid `

On Thu, Apr 12, 2012 at 4:14 PM, S Ahmed <[email protected]> wrote:
> when using embedded jetty, you start the process using;
>
> java -jar ....
>
> Is it possible to set a PID so you can kill the process?
>
> _______________________________________________
> jetty-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to