why can't we find netcat?
Some checks failed
MVS Upload & Execute / upload-and-run (push) Failing after 6s

This commit is contained in:
Greg Gauthier 2025-10-19 14:51:11 +01:00
parent 28d21721bc
commit 11acc2ae2a

View File

@ -66,7 +66,7 @@ def submit_jcl(job, mvshost="oldcomputernerd.com"):
print(f"JCL file {subjcl} not found")
return 1
subcmd = f"cat {subjcl} | nc -w1 {mvshost} {RDRPORT}"
subcmd = f"cat {subjcl} | /usr/bin/nc -w1 {mvshost} {RDRPORT}"
try:
subprocess.run(subcmd, shell=True, check=True)