We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5b9a11 commit b94970cCopy full SHA for b94970c
xs/platforms/lin_xs_cli.c
@@ -24,9 +24,9 @@ extern void fxRunPromiseJobs(void* machine);
24
extern txS1 fxPromiseIsPending(xsMachine* the, xsSlot* promise);
25
extern txS1 fxPromiseIsRejected(xsMachine* the, xsSlot* promise);
26
27
-void fxAbort(xsMachine* the)
+void fxAbort(xsMachine* the, int status)
28
{
29
- exit(1);
+ exit(status);
30
}
31
32
int main(int argc, char* argv[]) // here
0 commit comments