{"id":26159645,"url":"https://github.com/virxec/python-no-run","last_synced_at":"2026-04-19T08:33:08.689Z","repository":{"id":107554448,"uuid":"559272892","full_name":"VirxEC/python-no-run","owner":"VirxEC","description":"Minimal reproducable example for a very stange bug that happens in Windows when interfacing with Python from Rust via stdin","archived":false,"fork":false,"pushed_at":"2022-10-29T15:51:36.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T11:41:50.516Z","etag":null,"topics":["python","rust","stack-overflow-posts","stdin","subprocess"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VirxEC.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-29T15:45:48.000Z","updated_at":"2022-10-29T15:54:08.000Z","dependencies_parsed_at":"2023-06-08T12:00:24.854Z","dependency_job_id":null,"html_url":"https://github.com/VirxEC/python-no-run","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/VirxEC/python-no-run","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirxEC%2Fpython-no-run","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirxEC%2Fpython-no-run/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirxEC%2Fpython-no-run/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirxEC%2Fpython-no-run/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VirxEC","download_url":"https://codeload.github.com/VirxEC/python-no-run/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirxEC%2Fpython-no-run/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32000319,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","rust","stack-overflow-posts","stdin","subprocess"],"created_at":"2025-03-11T11:33:09.119Z","updated_at":"2026-04-19T08:33:08.683Z","avatar_url":"https://github.com/VirxEC.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python-no-run\n\nMinimal reproducable example for a very stange bug that happens in Windows when interfacing with Python from Rust via stdin\n\n## In the root folder\n - Run `cargo r` and see that nothing happens\n - In `python/main.py` comment out line 20 and uncomment line 22\n - Run `cargo r` and see that \"Hello world\" gets spammed when the stop command is issued and never stops\n\n## In the `python` folder\n - Run `python -c \"from main import start; start()\"` to start the process\n - Enter `start | ` exactly and see \"Hello world\" gets spammed\n - Enter `stop | ` exactly and see \"Hello world\" stop being spammed, processes all exit successfully\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirxec%2Fpython-no-run","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvirxec%2Fpython-no-run","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirxec%2Fpython-no-run/lists"}