[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: asynchronize "os.execute" call
- From: Xu Wang <xu4wang@...>
- Date: Thu, 5 Mar 2009 16:23:25 +0800
Thanks Hans, exactly what I want. Great!
2009/3/5 Hans Hagen
<pragma@wxs.nl>
Xu Wang wrote:
Hi List,
Is there a way in lua to launch an application in a asynchronize way?
for example, when I run os.execute("notepad.exe"), the script will suspend
until notepad exits. Is there a way to just launch notepad without waiting?
os.execute("start notepad.exe")
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------