Hi,
I’d like to use cfexecute to launch a third party tool to execute a command and get some data and return them to Lucee.
It runs fine from a command line, see below,
thirpartytool -S localhost\myserver -U admin -P {mypwd} -Q "get some stuff if person='john doe'"
but the tool won’t accept single quotes for the -Q switch, for instance, the following wont work,
thirpartytool -S localhost\myserver -U admin -P {mypwd} -Q 'get some stuff if person=''john doe'' '
In the cfexecute, I tried
name = "thirpartytool -S localhost\myserver -U admin -P {mypwd} -Q \"get some stuff if person='john doe'\""
It won’t return data.
Any idea? Thanks.