In the end I decided to use the daemon utility (man daemon) to start and stop the jython daemon by unique name.

To start...

 daemon --name jybridge jython /opt/mypath/myprogram.py

To stop...

 daemon --name jybridge

Devin

On Mon, Jan 5, 2009 at 10:37 AM, Jeff Emanuel <jemanuel@frii.com> wrote:
In bash, use $!

Mohamed Lrhazi wrote:
> I am sorry... I was mistaken... thought it was straightforward.... like:
>
> start-my-process&
> mypid=$SOME_SPECIAL_SHELL_VAR