1
0
mirror of https://github.com/janet-lang/janet synced 2024-09-27 22:58:13 +00:00

Merge pull request #655 from uvtc/patch-1

Update os.c
This commit is contained in:
Calvin Rose 2021-03-11 18:12:54 -06:00 committed by GitHub
commit 05e3467d09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2085,7 +2085,7 @@ static const JanetReg os_cfuns[] = {
#ifndef JANET_NO_PROCESSES
{
"os/execute", os_execute,
JDOC("(os/execute args &opts flags env)\n\n"
JDOC("(os/execute args &opt flags env)\n\n"
"Execute a program on the system and pass it string arguments. `flags` "
"is a keyword that modifies how the program will execute.\n\n"
"* :e - enables passing an environment to the program. Without :e, the "
@ -2105,7 +2105,7 @@ static const JanetReg os_cfuns[] = {
},
{
"os/spawn", os_spawn,
JDOC("(os/spawn args &opts flags env)\n\n"
JDOC("(os/spawn args &opt flags env)\n\n"
"Execute a program on the system and return a handle to the process. Otherwise, the "
"same arguments as os/execute. Does not wait for the process.")
},