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

Escaping $tclsh in Makefile.PL

Thread Next
From:
Christopher Chavez
Date:
August 22, 2018 09:21
Subject:
Escaping $tclsh in Makefile.PL
Message ID:
947a30c0-9c76-a750-265e-5c92aa77008c@gmx.us
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

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About