From 28d21721bc262895ae1bf187514763a2c07a53a8 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Sun, 19 Oct 2025 14:49:08 +0100 Subject: [PATCH] why can't we find netcat? --- mvs_job.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mvs_job.py b/mvs_job.py index 8864f8b..91464d5 100755 --- a/mvs_job.py +++ b/mvs_job.py @@ -47,7 +47,7 @@ def upload_source(local_file, dataset_name, member_name, mvshost=MVSHOST): try: # Use cat to read the file and pipe to netcat - cmd = f"cat {tmpfile_path} | nc -w1 {mvshost} {RDRPORT}" + cmd = f"cat {tmpfile_path} | /usr/bin/nc -w1 {mvshost} {RDRPORT}" subprocess.run(cmd, shell=True, check=True) print(f"Uploaded {local_file} to {dataset_name}({member_name})") return 0