Shell exec

From Soldat Community Wiki
Revision as of 10:45, 15 August 2012 by Freeman (talk | contribs) (Created page with "''function shell_exec(Command: string): integer;'' '''Parameter Info:<br>''' Command (String): Command to be executed on the machine running the Soldat Server. '''Descript...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

function shell_exec(Command: string): integer;

Parameter Info:

 Command (String): Command to be executed on the machine running the Soldat Server.

Description:
This function will execute (Command) on the machine running the Soldat Server.
If the server is windows, command.com will be executed with the (Command) parameter.
If the server is Linux, the Libc system function will be called.

NOTE: This function is only enabled when Safe Mode is turned off!
      Start the server with -safe 0 to disable Safe Mode.

Syntax Example:
N/A