PDA

View Full Version : possible to execute windows command



kungfuzius
02-21-2008, 03:07 AM
hey there,

sorry, I couldnt find it in the manuals or in the forum, is there any way I can start a windows .exe out of an lscript?

greetings.

evenflcw
02-21-2008, 04:47 AM
Look up spawn and asyncspawn preprocesssor/pragma.


//Starts LScript Editor from within Modeler
@version 2.2
@warnings
@script modeler

@asyncspawn

main
{
InstallDirectory = getdir("Install");

LSED_Location = InstallDirectory+"\\LSED.exe";

spawn(LSED_Location);
}