| 274 | currentDirectory); |
| 275 | #else |
| 276 | return Result(currentDirectory.assign(processWorkingDirectory)); |
| 277 | #endif |
| 278 | } |
| 279 | |
| 280 | SC::Result SC::Process::setEnvironment(StringSpan name, StringSpan value) |
| 281 | { |
| 282 | StringsArena table = {environment, environmentNumber, environmentByteOffset}; |
| 283 | return table.appendAsSingleString({name, SC_NATIVE_STR("="), value}); |