I wonder if quotemeta enough??

-----Original Message-----
From: Christopher Chavez [mailto:chrischa...@gmx.us] 
Sent: Wednesday, August 22, 2018 12:22 PM
To: tcltk@perl.org
Subject: Escaping $tclsh in Makefile.PL

In the Makefile.PL's for Tcl.pm, Tcl::Tk, and Tcl::pTk, the path to tclsh 
should probably be escaped somehow. That way, any characters like spaces get 
passed properly to the shell. I don't know what the best portable way to do 
this would be, nor whether surrounding it with double quotes (i.e. `"$tclsh" 
...`) is sufficient.


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Reply via email to