Title: Implement libssh ssh_channel_get_exit_state in Channel object · Issue #73 · ParallelSSH/ssh-python · GitHub
Open Graph Title: Implement libssh ssh_channel_get_exit_state in Channel object · Issue #73 · ParallelSSH/ssh-python
X Title: Implement libssh ssh_channel_get_exit_state in Channel object · Issue #73 · ParallelSSH/ssh-python
Description: libssh exit_status is only set by the exit-status packet/request, which is only sent for regular process exits. If the remote process exits due to a signal, an exit-signal request is sent instead, which doesn't set exit-status (which the...
Open Graph Description: libssh exit_status is only set by the exit-status packet/request, which is only sent for regular process exits. If the remote process exits due to a signal, an exit-signal request is sent instead, ...
X Description: libssh exit_status is only set by the exit-status packet/request, which is only sent for regular process exits. If the remote process exits due to a signal, an exit-signal request is sent instead, ...
Opengraph URL: https://github.com/ParallelSSH/ssh-python/issues/73
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Implement libssh ssh_channel_get_exit_state in Channel object","articleBody":"libssh exit_status is only set by the `exit-status` packet/request, which is only sent for regular process exits. If the remote process exits due to a signal, an `exit-signal` request is sent instead, which doesn't set `exit-status` (which then remains at -1).\r\n\r\nI'm halfway between \r\n\"this kinda sounds like a libssh bug, ssh_channel_get_exit_status should return the standard unixy composite, like wait(2) does\" \r\nand \r\n\"I guess we have to add a default callback for this and add a separate Channel.get_exit_signal function.\"","author":{"url":"https://github.com/enkore","@type":"Person","name":"enkore"},"datePublished":"2023-06-20T14:06:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/73/ssh-python/issues/73"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9e8ecd6c-b2f6-162d-7a5c-c57aefaaa8e7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 987E:63833:18E0CB0:20CD214:696B8BB2 |
| html-safe-nonce | 587893cf311769deb949d559a9e17f8967a5db1f4b6e3f5f12b9ed09594d8472 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODdFOjYzODMzOjE4RTBDQjA6MjBDRDIxNDo2OTZCOEJCMiIsInZpc2l0b3JfaWQiOiI4NjkzNjQ5MDMwMjQwNzY2ODk4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8d8d0ac6707465adf37816ea2535f760e7f976f0892e9e75a525b72b46997c9e |
| hovercard-subject-tag | issue:1765489687 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ParallelSSH/ssh-python/73/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bf31b54de8759630692f56919a10be37631479c333a9e649414f4be4ad33f7b8/ParallelSSH/ssh-python/issues/73 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bf31b54de8759630692f56919a10be37631479c333a9e649414f4be4ad33f7b8/ParallelSSH/ssh-python/issues/73 |
| og:image:alt | libssh exit_status is only set by the exit-status packet/request, which is only sent for regular process exits. If the remote process exits due to a signal, an exit-signal request is sent instead, ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | enkore |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/ParallelSSH/ssh-python git https://github.com/ParallelSSH/ssh-python.git |
| octolytics-dimension-user_id | 22918200 |
| octolytics-dimension-user_login | ParallelSSH |
| octolytics-dimension-repository_id | 135702111 |
| octolytics-dimension-repository_nwo | ParallelSSH/ssh-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135702111 |
| octolytics-dimension-repository_network_root_nwo | ParallelSSH/ssh-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width