|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-4bb960b182
|

Go to the source code of this file.
Functions | |
| int | G_spawn (const char *command,...) |
| Spawn new process based on command. | |
| int | G_vspawn_ex (const char *command, const char **args) |
| Spawn new process based on command. | |
| int | G_spawn_ex (const char *command,...) |
| Spawn new process based on command. | |
| int | G_wait (int i_pid) |
| Wait for a spawned process to finish. | |
Spawn new process based on command.
| [in] | command |
Definition at line 918 of file spawn.c.
References G_spawn_ex(), MAX_ARGS, NULL, SF_ARGVEC, SF_SIGNAL, SSA_BLOCK, SSA_IGNORE, and SST_PRE.
Spawn new process based on command.
This is a more advanced version of G_spawn().
| [in] | command |
Definition at line 897 of file spawn.c.
Referenced by D_open_driver(), db_start_driver(), and G_spawn().
Wait for a spawned process to finish.
Blocks until the process identified by i_pid exits, then returns the process exit code. On non-Windows platforms, if the process terminates due to a signal, the signal number is returned instead.
| [in] | i_pid | Process identifier returned by a spawn function. |
Definition at line 963 of file spawn.c.
References FALSE.
Referenced by db_shutdown_driver(), and G_popen_close().