-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
When running m-RAY on a Windows client, the line-endings when executing the enum scripts are not being converted, if necessary, when the files are transferred from the local host to the remote host. Optionally, for a z/OS Unix-compliant approach, the tr command could be used. I was able to make a local change to get this to function in run_script in run_external_scripts.py by adding this block before the # Make script executable block:
# Convert any Windows-style line endings if necessary
cmd = "tr -d '\r' < " + r_filepath + "> temp && mv temp " + r_filepath
mainframe.c_send(client, cmd)Metadata
Metadata
Assignees
Labels
No labels