Skip to content

1.7 -> tmpfs vs fork or execvp #1994

Answered by dimakuv
nmwael asked this question in Q&A
Sep 4, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

what happens if I close fd1 after fork, just to be clear?

Nothing bad. The file "file1" with its contents will still be there in the child.

Replies: 1 comment 3 replies

Comment options

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

@nmwael
Comment options

@dimakuv
Comment options

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