Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

getting PID of current shell process



hi,

i need to have a way to get the pid of the current shell process but there
doesn't seem to be a way to do this easily eg no $PID shell variable.
Is there a reason for this and could you please add it if possible?
the $PPID doesn't help me at all.

thanks

B



Messages sorted by: Reverse Date, Date, Thread, Author