Fork: Difference between revisions
→{{header|AutoHotkey}}
No edit summary |
|||
Line 44:
Run, %A_ScriptFullName% %instancenum%
ExitApp</lang>
New version:
<lang AutoHotkey>If 0 = 0 ; no arguments
InstanceNum = 1
Else
InstanceNum = %1%
MsgBox, 4, Fork Process, Number %InstanceNum%: Run another?
InstanceNum += 1
IfMsgBox, Yes
Run, "%A_AhkPath%" "%A_ScriptFullPath%" %InstanceNum%</lang>
=={{header|C}}==
|