why can't we find netcat?
Some checks failed
MVS Upload & Execute / upload-and-run (push) Failing after 5s
Some checks failed
MVS Upload & Execute / upload-and-run (push) Failing after 5s
This commit is contained in:
parent
fb06bcda8a
commit
28d21721bc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user