You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Andre Araujo (Jira)" <ji...@apache.org> on 2022/08/26 01:41:00 UTC

[jira] [Created] (MINIFICPP-1927) ExecuteProcess does not support escaping white spaces in arguments

Andre Araujo created MINIFICPP-1927:
---------------------------------------

             Summary: ExecuteProcess does not support escaping white spaces in arguments
                 Key: MINIFICPP-1927
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1927
             Project: Apache NiFi MiNiFi C++
          Issue Type: Bug
            Reporter: Andre Araujo


The description of the {{{}ExecuteProcess{}}}'s {{Command Arguments}} property says:
{quote}The arguments to supply to the executable delimited by white space. White 
space can be escaped by enclosing it in 
double-quotes.
{quote}
However, this is not what happens. The arguments are [split|https://github.com/hortonworks/nifi-minifi-cpp/blob/CEM-AGENTS-1.22.06/extensions/standard-processors/processors/ExecuteProcess.cpp#L111] into an array using whitespace as a separator and there's no way to escape whitespaces in an argument.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)