| author | |
| committer | |
| log | dd7be75f7c5a52f838eca0d3f3cd3c7b552adff1 |
| tree | d6c3c7fa71dc4398353e659b5a0bddc216240da9 |
| parent | e55fa3d525aeb72d0b8efec96daa84c32c38a1c5 |
2 files changed, 3 insertions(+), 1 deletions(-)
lib/std/Io/Threaded.zig+1-1| ... | ... | @@ -12820,7 +12820,7 @@ const processSpawn = switch (native_os) { |
| 12820 | 12820 | fn processSpawnUnsupported(userdata: ?*anyopaque, options: process.SpawnOptions) process.SpawnError!process.Child { |
| 12821 | 12821 | _ = userdata; |
| 12822 | 12822 | _ = options; |
| 12823 | return error.Unexpected; | |
| 12823 | return error.OperationUnsupported; | |
| 12824 | 12824 | } |
| 12825 | 12825 | |
| 12826 | 12826 | const Spawned = struct { |
lib/std/process.zig+2| ... | ... | @@ -328,6 +328,8 @@ pub const ArgExpansion = enum { expand, no_expand }; |
| 328 | 328 | pub const WindowsExtension = enum { bat, cmd, com, exe }; |
| 329 | 329 | |
| 330 | 330 | pub const SpawnError = error{ |
| 331 | /// The operating system does not support creating child processes. | |
| 332 | OperationUnsupported, | |
| 331 | 333 | OutOfMemory, |
| 332 | 334 | /// POSIX-only. `StdIo.ignore` was selected and opening `/dev/null` returned ENODEV. |
| 333 | 335 | NoDevice, |