capturing the most recent pid from csh

I'm trying to convert a script from bash to csh. The original script makes use of the $! variable to capture the most recent pid spawned from within the script. Is there an equivalent command or variable in the c-shell to capture the pid?

Hmm... shouldn't you be converting the other way? :slight_smile:

You could pull it out of the jobs -l output... not as convenient, but...