Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] setting PID with embedded jetty

In a bash shell, you can retrive le PID assigned by S.O. and then you use it to kill the process

>java -jar ....
>pid=$!
> echo $pid
...
...
>kill $pid

On 12/04/12 4:14 PM, S Ahmed 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
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top