cleanup, docs
This commit is contained in:
@@ -7,4 +7,6 @@ Attempts to terminate the background job process group and marks the registry en
|
||||
>sys
|
||||
|
||||
:example
|
||||
print("job_cancel example\n");
|
||||
DValue spec; spec["cmd"] = "sleep 5"; spec["timeout_ms"] = (f64)10000;
|
||||
u64 job = shell_spawn(spec);
|
||||
print(job_cancel(job) ? "job cancelled" : "could not cancel", "\n");
|
||||
|
||||
Reference in New Issue
Block a user