[support] passing vars part 2

Ken Robinson kenrbnsn at rbnsn.com
Tue Jun 30 03:34:31 UTC 2009


At 09:00 PM 6/29/2009, aurfalien at gmail.com wrote:
>Hi,
>
>So I've taken it a step farther by doing this;
>
>exec('sudo /path/create_user.sh '.($username));
>
>But I would like to back ground this so it doesn't hang the process if
>it should fail.  Plus I read thats its advisable to back ground exec
>calls.
>
>I've tried several incarnations w/o success.

What have you tried? Without a hint of what you've tried, we really 
can't help you.

Also, if you can tell us what you're trying to accomplish, we may be 
able to suggest a better way of doing it.  Also, so far you're 
questions have been pure PHP questions, which don't seem to have 
anything to do with Drupal, so it may be better to ask these 
questions on a forum with a dedicated PHP area.

Ken 



More information about the support mailing list