Concept Framework 1.0 documentation Contents | Index

standard.C.io.exec

Name Version Deprecated
exec version 1.0 no

Prototype:
number exec(string szExecPath[, string szParameter1, ...]);

Parameters:
szExecPath      the path to execute
szParameterN      the Nth argument to szExecPath

Description:
Loads and executes a new process (independent of the current one). When calling exec, a new process will be created. The control to the current process will be returned when the execution will end. This function is a little different of its C equivalent: the current process will NOT be replaced by the current one (equivalent to windows spawnl or fork + exec on penguins).

Returns:
Returns the exit status of the new process.

Documented by Simona Plesuvu, generation time: Thu Oct 15 20:02:04 2009 GMT(c)2009 RadGs Software