I am trying to execute a script in the following way
Code: Select all
exec("./run1.sh" ,$ret,$ret_val);Code: Select all
yes >> /dev/null &
echo $! >> pidList.dat
I have tried chmod 666 for pidList.dat and it's folder but it still didn't work
Any help will be greatly appreciated
Thanks
Fahad