DSExecute problem
Posted: Mon Aug 18, 2003 9:55 pm
Hi all,
I use Call DSExecute("UNIX",myCommand, Output, ErrCode) to execute system command. but i find that if myCommand consists of double quote(") and single quote(') ..mostly as script argument....and it always fail to run.
e.g.
myCommand is testing.sh "hello '1234'"
i use "testing.sh ":'"':"hello '1234'":'"' to concat the command
and when i print out it is ok..but when i execute it seems the argument cannot be passed.
Thanks,
Cal
I use Call DSExecute("UNIX",myCommand, Output, ErrCode) to execute system command. but i find that if myCommand consists of double quote(") and single quote(') ..mostly as script argument....and it always fail to run.
e.g.
myCommand is testing.sh "hello '1234'"
i use "testing.sh ":'"':"hello '1234'":'"' to concat the command
and when i print out it is ok..but when i execute it seems the argument cannot be passed.
Thanks,
Cal