why can't we find netcat?
Some checks failed
MVS Upload & Execute / upload-and-run (push) Failing after 6s
Some checks failed
MVS Upload & Execute / upload-and-run (push) Failing after 6s
This commit is contained in:
parent
28d21721bc
commit
11acc2ae2a
@ -66,7 +66,7 @@ def submit_jcl(job, mvshost="oldcomputernerd.com"):
|
|||||||
print(f"JCL file {subjcl} not found")
|
print(f"JCL file {subjcl} not found")
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
subcmd = f"cat {subjcl} | nc -w1 {mvshost} {RDRPORT}"
|
subcmd = f"cat {subjcl} | /usr/bin/nc -w1 {mvshost} {RDRPORT}"
|
||||||
|
|
||||||
try:
|
try:
|
||||||
subprocess.run(subcmd, shell=True, check=True)
|
subprocess.run(subcmd, shell=True, check=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user