Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/python-wasm
Path: blob/main/core/dash/src/patches/04-vforkexec.patch
1398 views
1
--- native/src/jobs.c 2022-10-01 09:10:53.000000000 -0700
2
+++ wasm/src/jobs.c 2022-10-07 15:05:01.000000000 -0700
3
@@ -958,8 +958,12 @@
4
return pid;
5
}
6
7
+extern int cowasm_vforkexec(char **argv, const char *path);
8
struct job *vforkexec(union node *n, char **argv, const char *path, int idx)
9
{
10
+ exitstatus = cowasm_vforkexec(argv, path);
11
+ return 0;
12
+
13
struct job *jp;
14
int pid;
15
16
17