Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Windows / Shell to an executable

Author
Message
Christian Wheel
18
Years of Service
User Offline
Joined: 4th Oct 2005
Location:
Posted: 12th Jan 2017 23:46
Hi all,

My target platform is Windows and I'd like to shell to an external executable, but can't find any type of shell command. How can this be accomplished?

Thanks
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 13th Jan 2017 10:50
I can answer this one because the command was added for me when I worked on a small TGC project last year

RunApp

Runs an external executable that is independent of this app. It will return an ID that you can use to check if the app is still running or in extreme cases to terminate the app. If this fails it will return 0. Currently only works on Windows.

Definition
integer RunApp( szFilename, szParameters )

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
Christian Wheel
18
Years of Service
User Offline
Joined: 4th Oct 2005
Location:
Posted: 20th Jan 2017 20:34
Fantastic, thanks!

Login to post a reply

Server time is: 2024-04-19 01:18:58
Your offset time is: 2024-04-19 01:18:58