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/.
srs_andre gerrit-no-reply at lists.osmocom.orgsrs_andre 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: (1 comment) > Patch Set 2: > > I think I'm still not following you here. AFAIU you want to to call that function simply to enable trace reports, so by no means you want to return an exception after 5 seconds (because yo doun't expect the process to exit in that case). 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() https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17560/1/src/osmo_gsm_tester/process.py File src/osmo_gsm_tester/process.py: https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17560/1/src/osmo_gsm_tester/process.py@360 PS1, Line 360: self.log('Timeout expired while writing to stdout') > You mean while writing to stdin Ha. Good catch. It was too later already ... -- 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 17:25:27 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: pespin <pespin at sysmocom.de> Gerrit-MessageType: comment -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200322/4565099a/attachment.htm>