Voting

: two minus zero?
(Example: nine)

The Note You're Voting On

strrev xc.noxeh@ellij
17 years ago
You can NOT rely on pid+1.
You could prefix exec to the command string, this will replace the /bin/sh script with the real thing you want to exec (use only if you don't do 'scary things' like pipes, output redirection, multiple commands, however if you know how they work, go ahead).
If you prefix exec, the /bin/sh process will only start your process, and the PID will be the same.

<< Back to user notes page

To Top