[cmake-developers] [CMake 0015898]: CMake must provide a magic method to do right escaping of commands being executed in shell

Mantis Bug Tracker mantis at public.kitware.com
Sat Jan 2 05:18:01 EST 2016


The following issue has been SUBMITTED. 
====================================================================== 
https://cmake.org/Bug/view.php?id=15898 
====================================================================== 
Reported By:                Ilya
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15898
Category:                   CMake
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2016-01-02 05:18 EST
Last Modified:              2016-01-02 05:18 EST
====================================================================== 
Summary:                    CMake must provide a magic method to do right
escaping of commands being executed in shell
Description: 
Right now it's very hard to write a command that should be executed in shell and
will work on various platforms. Here is the notable example we came across
recently: https://gist.github.com/Kentzo/00198d5cfc03ebdedddf

CMake should provide a function or some way to specify a literal that will be
correctly escaped according to the rules of the shell where the command will be
executed.

Additional Information: 
https://gist.github.com/Kentzo/00198d5cfc03ebdedddf
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-01-02 05:18 Ilya           New Issue                                    
======================================================================



More information about the cmake-developers mailing list