Re: [OFBiz] Users - a java problem, someone help me?
Posted by
Charles Johnson-2 on
Nov 03, 2005; 6:19pm
URL: http://ofbiz.116.s1.nabble.com/OFBiz-Users-a-java-problem-someone-help-me-tp136291p136292.html
Try
String cmd = "./a.sh -in \"a=a\" -out a.txt";
Hao Jiang wrote:
>Hello, please forgive me since it's not directly related to ofbiz, but a
>java problem when I work on ofbiz
>
>I want to call a linux script from ofbiz system, it's simple and I did
>this
>
>String cmd = "./a.sh -in a=a -out a.txt";
>Process p = Runtime.getRuntime().exec(cmd);
>
>now I want the command like
>./a.sh -in "a=a" -out a.txt
>
>this time java returns error message, although it runs fine when use
>linux terminal
>
>Can someone help me?
>
>Thanks
>
>Hao
>
>
>
>_______________________________________________
>Users mailing list
>
[hidden email]
>
http://lists.ofbiz.org/mailman/listinfo/users>
>
>
>
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users