Monday, 30 December 2013

php exec no wait

I write a autohotkey exe to launch another exe
to simulate nohup on windows

[runnowait.ahk]
#NoTrayIcon
Loop, %0%
param := %A_Index%
Try
{
Run, %param%, , , OutputVarPID
FileAppend, %OutputVarPID%, *
}

No comments:

Labels

Search This Blog