This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17560 ) Change subject: process: add stdin_write method to communicate with child on stdin ...................................................................... Patch Set 2: > Patch Set 2: > That's all correct. But IMHO there is no way to "just" send the something on stdin and then carry on. I am just catching the exception from communicate() and continue. Stdin will then be closed but the process keeps running. Similar things happen with stdin.write() I think I read yesterday you can use process.stdin attribute as if it was a filr or alike and write to it. So don't need to use the communicate API. And if you still want to use the communicate API, probably not setting timeout or setting it to 0 avoids waiting and throwing the exception. AFAIU setting timeout to 5, even if you catch exception, will block for around 5 seconds before raising the excepion. -- To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17560 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-gsm-tester Gerrit-Branch: master Gerrit-Change-Id: I3e5d843911998bb50726d93e3dfd3de584dc81a5 Gerrit-Change-Number: 17560 Gerrit-PatchSet: 2 Gerrit-Owner: srs_andre <andre at softwareradiosystems.com> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-Reviewer: srs_andre <andre at softwareradiosystems.com> Gerrit-Comment-Date: Sun, 22 Mar 2020 21:50:52 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: No Gerrit-MessageType: comment -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200322/b7c67b25/attachment.htm>