23 Nov
2009
23 Nov
'09
7:47 p.m.
T T wrote:
2009/11/23 Hans Hagen
: arg = { "dir", "bar", '"foo bar"', }
os.spawn(arg)
works ok, so without arg[0]
Yes, but your arg[1] has no spaces in it. Try running some program under %ProgramFiles% or other path with spaces.
hm, hard to find one, but "c:/Program Files/WinRAR/rar.exe", as arg[1] runs rar Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------