Juan, I was able to reproduce your findings and even more-so I couldn't get any double quote characters to be passed as arguments.
I dug in a bit and it appears this[1] logic is to blame. The ArgumentUtils class is trying to be helpful by automatically grouping items in quotes together but this has the side effect of never letting double quotes be included in the command arguments. I will open a ticket regarding this issue. [1] https://github.com/apache/nifi/blob/e12e7a55b75f5e358bdbcea79be9baba77532f94/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/util/ArgumentUtils.java#L60-L60 Joe - - - - - - Joseph Percivall linkedin.com/in/Percivall e: [email protected] On Friday, December 16, 2016 2:34 PM, Juan Sequeiros <[email protected]> wrote: Excuse me my previous reply got weird. Hey Joe, That did not work. As example if I use echo "test" on command line I get: test If I use echo \"test\" I get: "test" On ExecuteStream: If I use "test" as command argument I get": test But if I use \"test\" I get: \test\ On Fri, Dec 16, 2016 at 2:31 PM Juan Sequeiros <[email protected]> wrote: That did not work it could be my command. >The command takes an argument in double quotes. "HOUSECOLOR" and outputs BLUE > > >On Fri, Dec 16, 2016 at 2:10 PM Joe Percivall <[email protected]> wrote: > >Hey Juan, >> >>I believe you need to escape the escape, so in order to do a double quote it >>would be \\" as the property value. >> >> >>Joe >>- - - - - - >>Joseph Percivall >>linkedin.com/in/Percivall >>e: [email protected] >> >> >> >>On Friday, December 16, 2016 2:05 PM, Juan Sequeiros <[email protected]> >>wrote: >> >> >Hey Joe, >> >> >> That did not work. >> > > >As example if I use echo "test" on command line I get: test > >If I use echo \"test\" I get: "test" > > >On ExecuteStream: > > >If I use "test" as command argument I get": test > >But if I use \"test\" I get: \test\ > > > >
