We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc7c318 commit 19913caCopy full SHA for 19913ca
1 file changed
src/programs/help.ts
@@ -133,8 +133,12 @@ export default {
133
if (includes_builtin) {
134
new_args.push("-a");
135
}
136
-
137
- return await kernel.spawn("help", new_args, shell).completion;
+
+ // TODO: dont spawn, just change the logic
138
+ const shell_result = kernel.spawn("help", new_args, shell);
139
+ const exit_code = await shell_result.completion;
140
+ shell_result.process.kill(exit_code);
141
+ return exit_code;
142
143
144
0 commit comments