Static Public Member Functions | |
| char[] | commandName () |
| Return the command name that allegedly created this process. | |
| void | currentWorkingDirectory (char[] path) |
| Assign the current working directory. | |
| char[] | currentWorkingDirectory () |
| Return the current working directory. | |
| char[] | environmentVariable (char[] name) |
| Return an environment variable or null if this is not assigned. | |
| void | environmentVariable (char[] name, char[] value) |
| Assign an environment variable. | |
| int | system (char command[], char args[][]) |
| Run a command in system and return the result. | |
| char[] | pathDir (char[] path) |
| Split the directory from a string; for example, 'src/foo.c' becomes 'src/'. | |
| char[] | pathNotDir (char[] path) |
| Split everything but the directory from a string; for example, 'src/foo.c' becomes 'foo.c'. | |
| char[] | pathSuffix (char[] path) |
| Split the suffix from a string; for example, 'src/foo.c' becomes '.c'. | |
| char[] | pathBaseName (char[] path) |
| Extract all but the suffix from a string; for example, 'src/foo.c' becomes 'src/foo'. | |
|
|
Split the directory from a string; for example, 'src/foo.c' becomes 'src/'. If there is no directory, null is returned. |
|
||||||||||||
|
Run a command in system and return the result.
|
1.3.2