Fork: Difference between revisions

Content added Content deleted
Line 38: Line 38:
</pre>
</pre>
=={{header|AutoHotkey}}==
=={{header|AutoHotkey}}==
{{untested|AutoHotkey}}
<lang AutoHotkey>instancenum = %1%+1
MsgBox, 4, Fork Process, %instancenum% number: run another?
IfMsgBox, Yes
Run, %A_ScriptFullName% %instancenum%
ExitApp</lang>
New version:
<lang AutoHotkey>If 0 = 0 ; no arguments
<lang AutoHotkey>If 0 = 0 ; no arguments
InstanceNum = 1
InstanceNum = 1