Thread: UHC Tools
View Single Post
Old 06 March 2022, 00:48   #93
patrik
Registered User
 
patrik's Avatar
 
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 927
Now I know - execute creates those when scripts with arguments are used. It creates a temporary script with the argument(s) resolved/expanded and I am positive that the temporary file is what is actually executed.

Look at this example:
Code:
9.Ram Disk:> type argscript 
.KEY SOMEARG
echo "<SOMEARG>"
wait 10
echo "done!"
9.Ram Disk:> run execute argscript testing 
[CLI 1]
9.Ram Disk:> testing

9.Ram Disk:> list t: 
Directory "t:" on Söndag 06-Mar-22
Command-0-T1                     37 ----rwed Idag      00:35:26
1 file - 37 bytes - 2 blocks used
9.Ram Disk:> type t:Command-0-T1  
 
echo "testing"
wait 10
echo "done!"
9.Ram Disk:> done!

9.Ram Disk:> list t: 
Directory "t:" is empty
Also, as you can see, it removes the temporary file in T: after it is done.
patrik is offline  
 
Page generated in 0.04259 seconds with 11 queries