Why can’t i do this in TCL:
set path "|C:/Program Files/Example/My Program/prgrm.exe"
The string path will get the value:
"C:/Program".
But if I remove the spaces it will get the full path…
Anyone got an idea?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s because the code for running a subprocess with pipe takes a Tcl list after the
|character. Build and run it like this:(Later items in that list are the arguments to pass to
prgrm.exe.)