Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Load external exe with command line arguments? #262816
04/26/09 05:50
04/26/09 05:50
Joined: Feb 2002
Posts: 288
California, USA
J
jaknine Offline OP
Member
jaknine  Offline OP
Member
J

Joined: Feb 2002
Posts: 288
California, USA
I'm trying to find the answer to something real quick regarding 3DGS. I'm pretty sure this is possible but then again I've never had to do it so it may not be.

Is it possible to launch an external app from within a 3DGS game and pass command line arguments to that app?

For instance, something like:

Code:
commandLaunchApp ("myapp.exe 'arg1 arg2'");

Can someone point me to the docs where this type of functionality is detailed, or ideas on how it could be managed? I've looked through the manual, etc. and for some reason I'm not seeing anything like this in there.

Thanks!

Re: Load external exe with command line arguments? [Re: jaknine] #262818
04/26/09 05:54
04/26/09 05:54
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
exec

see manual

exec("program.exe","args");


3333333333
Re: Load external exe with command line arguments? [Re: Quad] #262822
04/26/09 06:43
04/26/09 06:43
Joined: Feb 2002
Posts: 288
California, USA
J
jaknine Offline OP
Member
jaknine  Offline OP
Member
J

Joined: Feb 2002
Posts: 288
California, USA
Oh there is it. I knew there was something in there that would do that, but after 7 years of using 3DGS on and off my brain went out for a snack and I'd forgotten all about exec, lol. Thanks very much.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1