René's URL Explorer Experiment


Title: Got errors when using sudo with ps · Issue #1043 · pyinvoke/invoke · GitHub

Open Graph Title: Got errors when using sudo with ps · Issue #1043 · pyinvoke/invoke

X Title: Got errors when using sudo with ps · Issue #1043 · pyinvoke/invoke

Description: Hi, This is not exactly an issue, more of a warning for people having this kind of issues. It is both related to the invoke and the paramiko library I am using fabric (which is based on paramiko and invoke) in order to retrieve a list of...

Open Graph Description: Hi, This is not exactly an issue, more of a warning for people having this kind of issues. It is both related to the invoke and the paramiko library I am using fabric (which is based on paramiko an...

X Description: Hi, This is not exactly an issue, more of a warning for people having this kind of issues. It is both related to the invoke and the paramiko library I am using fabric (which is based on paramiko an...

Opengraph URL: https://github.com/pyinvoke/invoke/issues/1043

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Got errors when using sudo with ps","articleBody":"Hi,\n\nThis is not exactly an issue, more of a warning for people having this kind of issues. It is both related to the invoke and the paramiko library\n\nI am using fabric (which is based on paramiko and invoke) in order to retrieve a list of running processus on a Debian server with `ps axww -o pid=,ppid=,etimes=,command=`. At that time, I used the sudo function to run it.\n\nFrom time to time, I got a ThreadException, and it came out that it was coming from the invoke library: when doing the ps command, I got the following output:\n```\n3432669       1       0 /lib/systemd/systemd --user\n3432670 3432669       0 (sd-pam)\n3432716       2       0 [kworker/9:1]\n3432730 3432625       0 sshd: xxx@notty\n3432731 3432730       0 sudo -S -p [sudo] password:  ps axww -o pid=,ppid=,etimes=,command=\n3432732 3432731       0 ps axww -o pid=,ppid=,etimes=,command=\n```\n\nAs the `-p [sudo] password:` option appears in the command output, the `watchers.Responder.submit` function returns matches, and triggers the `runner.Runner.handle_output -\u003e _handle_output -\u003e respond -\u003e write_proc_stdin` function, thinking it should send the password.\n\nAs the paramiko channel get closed once the command output is printed, the `write_proc_stdin` sometimes tries to write the password after the channel closure, which triggers a ThreadException `OSError: Socket is closed`\n\n(Sorry if I am not using the correct terminology, I am not a developer)","author":{"url":"https://github.com/MiniPierre","@type":"Person","name":"MiniPierre"},"datePublished":"2025-07-23T07:54:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1043/invoke/issues/1043"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:efd6f1d4-cc3a-0fd9-499f-f4925bcb8a16
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCD4A:2625A:65A78:850D9:69930194
html-safe-nonce44bcbf94714eefaad1db2a195ed3bd3253802322405c828ec29df2566764cf76
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDRBOjI2MjVBOjY1QTc4Ojg1MEQ5OjY5OTMwMTk0IiwidmlzaXRvcl9pZCI6IjI0MDEyMjk0MTk5NzA3NTcwMTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac80f5126ca209515071b2763c41f7bb4e1c93f755689a9dded1126cd8c1bd8a3f
hovercard-subject-tagissue:3255311089
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pyinvoke/invoke/1043/issue_layout
twitter:imagehttps://opengraph.githubassets.com/06cdbb8234b8b3d1456a85481a164ec9b730808e6a91138979a9afe6a0f1955f/pyinvoke/invoke/issues/1043
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/06cdbb8234b8b3d1456a85481a164ec9b730808e6a91138979a9afe6a0f1955f/pyinvoke/invoke/issues/1043
og:image:altHi, This is not exactly an issue, more of a warning for people having this kind of issues. It is both related to the invoke and the paramiko library I am using fabric (which is based on paramiko an...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMiniPierre
hostnamegithub.com
expected-hostnamegithub.com
None348cc0594c4976eb4050dc9547ecf65057ee89a2b7ed0652b983b9b539f57145
turbo-cache-controlno-preview
go-importgithub.com/pyinvoke/invoke git https://github.com/pyinvoke/invoke.git
octolytics-dimension-user_id1486921
octolytics-dimension-user_loginpyinvoke
octolytics-dimension-repository_id3587206
octolytics-dimension-repository_nwopyinvoke/invoke
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3587206
octolytics-dimension-repository_network_root_nwopyinvoke/invoke
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release91a0a74305bca931ec621f52a6782246d341466f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/pyinvoke/invoke/issues/1043#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpyinvoke%2Finvoke%2Fissues%2F1043
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpyinvoke%2Finvoke%2Fissues%2F1043
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=pyinvoke%2Finvoke
Reloadhttps://github.com/pyinvoke/invoke/issues/1043
Reloadhttps://github.com/pyinvoke/invoke/issues/1043
Reloadhttps://github.com/pyinvoke/invoke/issues/1043
pyinvoke https://github.com/pyinvoke
invokehttps://github.com/pyinvoke/invoke
Notifications https://github.com/login?return_to=%2Fpyinvoke%2Finvoke
Fork 384 https://github.com/login?return_to=%2Fpyinvoke%2Finvoke
Star 4.7k https://github.com/login?return_to=%2Fpyinvoke%2Finvoke
Code https://github.com/pyinvoke/invoke
Issues 344 https://github.com/pyinvoke/invoke/issues
Pull requests 96 https://github.com/pyinvoke/invoke/pulls
Discussions https://github.com/pyinvoke/invoke/discussions
Actions https://github.com/pyinvoke/invoke/actions
Security 0 https://github.com/pyinvoke/invoke/security
Insights https://github.com/pyinvoke/invoke/pulse
Code https://github.com/pyinvoke/invoke
Issues https://github.com/pyinvoke/invoke/issues
Pull requests https://github.com/pyinvoke/invoke/pulls
Discussions https://github.com/pyinvoke/invoke/discussions
Actions https://github.com/pyinvoke/invoke/actions
Security https://github.com/pyinvoke/invoke/security
Insights https://github.com/pyinvoke/invoke/pulse
New issuehttps://github.com/login?return_to=https://github.com/pyinvoke/invoke/issues/1043
New issuehttps://github.com/login?return_to=https://github.com/pyinvoke/invoke/issues/1043
Got errors when using sudo with pshttps://github.com/pyinvoke/invoke/issues/1043#top
https://github.com/MiniPierre
https://github.com/MiniPierre
MiniPierrehttps://github.com/MiniPierre
on Jul 23, 2025https://github.com/pyinvoke/invoke/issues/1043#issue-3255311089
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.