system( <command> )


Module: libcod

Summary:

Executes a shell command and returns the status of the command. In case of an error it will return -1.



Example:

status = system( "ls" );



Required Args:

  • 1 : <command> command to execute