Hi
I need to get the PID of a program from a bash script.
The Script will be something like as follows
#!/bin/bash
# I need the pid of process created by the PHP Script that follows.
php --this-option --that-option --another-option --etc
pid={what_do_I_put_in_here
}
profile_filename=/tmp/apd/
whatever.$
pid
I think this is easy. If not, I've no problem in bumping the points.
Start Free Trial