Skip to content

Janet as a Bash script replacement: exec(3) family of functions? #1303

Answered by bakpakin
nrser asked this question in Q&A
Discussion options

You must be logged in to vote

Janet doesn't have fork and exec as separate functions, mostly for windows compatibility. That said, open a bug or PR and I would be happy to add them (on everything but windows).

For most needs, os/spawn is a wrapper around posix_spawn that has good analogues on windows.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@bakpakin
Comment options

Answer selected by nrser
@nrser
Comment options

@nrser
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants