How can I call an exe?

Discussions about Coding and Scripting
Post Reply
Helen
Novice
Posts: 28
Joined: Sat Dec 25, 2010 6:03 pm

How can I call an exe?

Post by Helen »

From unrealscript I want to get an exe to run, how can I do this?

I want to write my own stat compiler, similar to ngStatsUT.exe, and call it at game end.

Thanks.
User avatar
EvilGrins
Godlike
Posts: 9866
Joined: Thu Jun 30, 2011 8:12 pm
Personal rank: God of Fudge
Location: Palo Alto, CA
Contact:

Re: How can I call an exe?

Post by EvilGrins »

Not my field of expertise but I'd suggest 2 things.

1) Make sure you actually have made a functional stats compiler.

2) See ow the current ngStatsUT.exe is connected to the game and simply swap the executable command line.

Keep in mind, I'm guessing.
http://unreal-games.livejournal.com/
Image
medor wrote:Replace Skaarj with EvilGrins :mrgreen:
Smilies · viewtopic.php?f=8&t=13758
Helen
Novice
Posts: 28
Joined: Sat Dec 25, 2010 6:03 pm

Re: How can I call an exe?

Post by Helen »

I don't have to keep it in mind you're guessing... I know you're guessing, lol.
iDeFiX
Average
Posts: 70
Joined: Sat May 15, 2010 10:11 am

Re: How can I call an exe?

Post by iDeFiX »

Codewise, have you tried the following?
Extend the StatLog class, set the LocalBatcherURL (optionally LocalBatcherParams for params) property to your exe, spawn this class and execute the ExecuteLocalLogBatcher() method
Post Reply