Skip to content

Replace system() with execl() to remove extra forking#69

Open
trdenton wants to merge 1 commit intoar-:masterfrom
trdenton:master
Open

Replace system() with execl() to remove extra forking#69
trdenton wants to merge 1 commit intoar-:masterfrom
trdenton:master

Conversation

@trdenton
Copy link

@trdenton trdenton commented Apr 3, 2020

The behaviour of forking and then calling system()
results in a fork-of-a-fork and is unaccounted for.
This causes extra incrond processes to pile up.
Replaced system() with its equivalent exec, sans
fork.

The behaviour of forking and then calling system()
results in a fork-of-a-fork and is unaccounted for.
This causes extra incrond processes to pile up.
Replaced system() with its equivalent exec, sans
fork.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant