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

filter out failed exec calls #16

Closed
rizsotto opened this issue Jan 3, 2013 · 4 comments
Closed

filter out failed exec calls #16

rizsotto opened this issue Jan 3, 2013 · 4 comments
Labels
Milestone

Comments

@rizsotto
Copy link
Owner

rizsotto commented Jan 3, 2013

This requires post processing or delayed writes. The information about the exec fails is available only when the exec returns with an error code. It means the client lib shall connect twice. (And maybe the between the two connections there were another client wrote something.)

Plan to change the protocol between the client lib and the bin...

MSG { pid, method, args, cwd }
MSG { pid, result }

Client code would write all of them into a file and do post processing when child process quits.

@rizsotto
Copy link
Owner Author

rizsotto commented Jan 7, 2013

debug output does contain the first message attributes { pid, ppid, method, args, cwd }

@rizsotto
Copy link
Owner Author

rizsotto commented Jan 9, 2013

Might be not as useful. Postponed to later.

@rizsotto rizsotto closed this as completed Jan 9, 2013
@rizsotto rizsotto reopened this Mar 28, 2013
@rizsotto
Copy link
Owner Author

maybe filtering not, but reporting might be interesting (in debug mode)

@breser
Copy link
Contributor

breser commented Apr 25, 2013

This would be helpful on OS X where the implementation of the exec functions that support PATH loop over calls to execve() until it works, which results in duplicate entries until it finds the correct path.

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