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 uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/16229 ) Change subject: process: Return proc in function helpers ...................................................................... process: Return proc in function helpers Caller may want to access the proc object after running the process, for instance to check return code or inspect its stdout/stderr logs. Change-Id: I60a18dcf699ebeaced951f7d5ff188f573772282 --- M src/osmo_gsm_tester/process.py 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/29/16229/1 diff --git a/src/osmo_gsm_tester/process.py b/src/osmo_gsm_tester/process.py index b73673f..ef6bca1 100644 --- a/src/osmo_gsm_tester/process.py +++ b/src/osmo_gsm_tester/process.py @@ -399,16 +399,19 @@ run_dir =run_dir.new_dir(name) proc = Process(name, run_dir, popen_args) proc.launch_sync() + return proc def run_local_netns_sync(run_dir, name, netns, popen_args): run_dir =run_dir.new_dir(name) proc = NetNSProcess(name, run_dir, netns, popen_args) proc.launch_sync() + return proc def run_remote_sync(run_dir, remote_user, remote_addr, name, popen_args, remote_cwd=None): run_dir = run_dir.new_dir(name) proc = RemoteProcess(name, run_dir, remote_user, remote_addr, remote_cwd, popen_args) proc.launch_sync() + return proc def scp(run_dir, remote_user, remote_addr, name, local_path, remote_path): run_local_sync(run_dir, name, ('scp', '-r', local_path, '%s@%s:%s' % (remote_user, remote_addr, remote_path))) -- To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/16229 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: I60a18dcf699ebeaced951f7d5ff188f573772282 Gerrit-Change-Number: 16229 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191126/90f98da2/attachment.htm>