You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
579 B

#puts -nonewline stdout "info script\r\n"
#puts stdout "[info script]"
puts stdout "argc: $::argc"
puts stdout "argv one arg per line, each line followed by dotted line."
foreach a $::argv {
puts stdout $a
puts stdout [string repeat - 40]
}
#it can be useful to have a shutdown delay when testing with a launch mechanism that doesn't capture the output of the launched process - so that we can see the output before the process exits.
#(e.g running from windows explorer to test the arguments in the registry for file associations and shell open commands)
#after 10000