Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clixon_proc cann't start new process with PATH env #202

Closed
nowaits opened this issue Apr 13, 2021 · 1 comment
Closed

clixon_proc cann't start new process with PATH env #202

nowaits opened this issue Apr 13, 2021 · 1 comment
Labels

Comments

@nowaits
Copy link
Contributor

nowaits commented Apr 13, 2021

Hi olof,
Currently clixon_proc cann't start a process whose executable filename does not contain a slash (/) but in PATH dirs.
execv changed with execvp will allow clixon_proc use PATH env start new process.

if (execv(argv[0], argv) < 0) {

olofhagsand added a commit that referenced this issue Apr 14, 2021
@olofhagsand
Copy link
Member

Fixed by above patch, please review

@nowaits nowaits closed this as completed Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants