SysExecute API Reference

 Execute system command of your operating system. The command depends on the operating system where the Alinous-Core runs.

When it is necessary for your application to get the result of the command, use the "stdexec()". This function wait for the command to be done, therefore if you want to do asynchronous execution, use the Parallel block or multi threading in addition to use this function.

exec($command)

 Execute $command string as OS command.

stdexec($command)

Execute $command string as OS command. After do it, returns the standard output.

This function blocks while executing system command. After the system done it, returns the standard output.

 


Go to Top