Another workaround with four additional lines would be to dump the desired content into an intermediate python file and simply read/cleanup after creation.
file text open file="test.py" open_mode = overwrite
file text write format="import glob, os, os.path"
file text write format="cwd = os.getcwd()"
file text write format="filelist = glob.glob(os.path.join(cwd, 'tmp_*'))"
var set var = DeleteIt int = (eval(REMOVE_FILE("test.py"))
It's still using a python file, but saves the administrative work of having files installed & found on the target machine (especially TOPDIR is one of the top-forbidden zones in our IT)
Another workaround with four additional lines would be to dump the desired content into an intermediate python file and simply read/cleanup after creation.
file text open file="test.py" open_mode = overwrite
file text write format="import glob, os, os.path"
file text write format="cwd = os.getcwd()"
file text write format="filelist = glob.glob(os.path.join(cwd, 'tmp_*'))"
var set var = DeleteIt int = (eval(REMOVE_FILE("test.py"))
It's still using a python file, but saves the administrative work of having files installed & found on the target machine (especially TOPDIR is one of the top-forbidden zones in our IT)