Bryan Rosander created NIFI-3092:
------------------------------------

             Summary: NiFi Toolkit bat files should quote command line args 
properly
                 Key: NIFI-3092
                 URL: https://issues.apache.org/jira/browse/NIFI-3092
             Project: Apache NiFi
          Issue Type: Bug
    Affects Versions: 1.0.0
            Reporter: Bryan Rosander
            Assignee: Bryan Rosander


The toolkit bat files currently don't quote the command line arguments passed 
to them.  This results in problems with spaces or special characters as 
arguments.

We should be able to address this by double-quoting the cmd arguments.  If we 
add a space before the closing "", we should be able to handle whether or not 
the last argument is quoted.

E.g. without spaces -n "localhost(2)" would be rendered as -n "localhost(2)""" 
which breaks but with spaces it will be -n "localhost(2)" "" which is 
interpreted correctly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to