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

Return value of attached command #100

Open
jounathaen opened this issue May 14, 2019 · 1 comment
Open

Return value of attached command #100

jounathaen opened this issue May 14, 2019 · 1 comment

Comments

@jounathaen
Copy link

Hi,

I looks to me, as if the return value of the process which reptyr attaches to cannot be retrieved.
Is there some technical limitation, is it not implemented or am I not using it correctly?

Greets! Jonathan

@nelhage
Copy link
Owner

nelhage commented May 14, 2019

It is not currently implemented, and would be somewhat challenging to implement and would require some tradeoffs -- you would have to stay attached with ptrace in order to wait on the child and capture the exit status, which had some ongoing behavior implications. I doubt I'm likely to get to this soon if ever.

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

No branches or pull requests

2 participants