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

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

     [ https://issues.apache.org/jira/browse/MINIFICPP-1927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marton Szasz updated MINIFICPP-1927:
------------------------------------
    Description: 
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/apache/nifi-minifi-cpp/blob/main/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.

  was:
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.


> 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
>            Priority: Major
>
> 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/apache/nifi-minifi-cpp/blob/main/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)