diff options
| author | Lucas Faria Mendes <lucas.fariamo08@gmail.com> | 2026-03-31 17:19:29 +0000 |
|---|---|---|
| committer | Lucas Faria Mendes <lucas.fariamo08@gmail.com> | 2026-03-31 17:19:29 +0000 |
| commit | 69f876b91df1ccb9c7bedfd145d6688bd5c87387 (patch) | |
| tree | 7f238cc690f98843fdbf12ae8d46e5b7e53de68b /src/executor.zig | |
| parent | 0a604ad5552d35372a05cf09a7fdf66d3cdc69e7 (diff) | |
| download | shell-zig-master.tar.gz shell-zig-master.zip | |
Diffstat (limited to 'src/executor.zig')
| -rw-r--r-- | src/executor.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/executor.zig b/src/executor.zig index f776e74..073c962 100644 --- a/src/executor.zig +++ b/src/executor.zig @@ -128,6 +128,8 @@ fn runBuiltinInChild( builtins.executePwd(allocator, w) catch {}; } else if (std.mem.eql(u8, cmd_name, "cd")) { builtins.executeCd(allocator, w, args) catch {}; + } else if (std.mem.eql(u8, cmd_name, "jobs")) { + builtins.executeJobs(); } else if (std.mem.eql(u8, cmd_name, "exit")) { // exit inside pipeline child just exits child } |