develooper Front page | perl.tcltk | Postings from August 2018

Escaping $tclsh in Makefile.PL

Thread Next
Christopher Chavez
August 22, 2018 09:21
Escaping $tclsh in Makefile.PL
Message ID:
In the Makefile.PL's for, 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.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About