Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

[WIP/RFC] session: store exitcode/exitsignal from child #44

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

blueyed
Copy link
Contributor

@blueyed blueyed commented Oct 10, 2019

This would be used in Neovim's tests then to report if the (embedded) child exited non-zero, or due to some signal.

To be used in Neovim's tests: neovim/neovim#11203

@blueyed blueyed changed the title ChildProcessStream: store exitcode/exitsignal [WIP/RFC] session: store exitcode/exitsignal from child Oct 10, 2019
@blueyed
Copy link
Contributor Author

blueyed commented Oct 10, 2019

@justinmk btw: I cannot cancel Travis jobs here.

@blueyed blueyed force-pushed the child-exitcode branch 2 times, most recently from 906af8d to 541dfcf Compare October 11, 2019 12:16
blueyed added a commit to blueyed/neovim that referenced this pull request Oct 11, 2019
}, function()
}, function(code, signal)
self.exitcode = code
self.exitsignal = signal
self:close()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be good to have this as a module function, so it could be changed / and/or pass in a callback additionally somehow.
Then Neovim could use busted.fail here directly maybe.

@justinmk
Copy link
Member

@justinmk btw: I cannot cancel Travis jobs here.

@neovim/lua-client team as "Admin" permissions, that's the highest permission...

blueyed added a commit to blueyed/neovim that referenced this pull request Nov 29, 2019
@justinmk
Copy link
Member

justinmk commented Jun 30, 2023

Related/duplicate: #58

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants