commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siegfried Goeschl <siegfried.goes...@it20one.at>
Subject Re: common exec
Date Tue, 02 Mar 2010 11:34:15 GMT
+) Check out http://commons.apache.org/exec/xref-test/index.html and 
CommandLine Test

+) CommandLine.add() allows to add arguments with/without quoting magic

Siegfried Goeschl

On 02.03.10 12:13, maven apache wrote:
> 2010/3/2 Siegfried Goeschl<siegfried.goeschl@it20one.at>
>
>> Hi,
>>
>> I think checking the FAQ might help :
>>
>> http://commons.apache.org/exec/faq.html#complex-quoting
>>
>> Cheers,
>>
> Thanks, I have checked the faq, however I am not sure the usage.So I woner
> if there are some examplse?
>
>>
>> Siegfried Goeschl
>>
>>
>>
>> On 02.03.10 02:59, maven apache wrote:
>>
>>> Hi:
>>> I want to know can the common exec can handle the command with double
>>> quotation?
>>> For example ,I have a cmd as following:
>>> *r.gisenv set="LOCATION=al"
>>>
>>> file=HF5:"OMI-Aura_L3-OMTO3e_2009m0729_v003-2009m0731t020127.he5"://HDFEOS/GRIDS/OMI_Column_Amount_O3/Data_Fields/ColumnAmountO3
>>> *
>>> There are some double quotation in the command, I should use the
>>> string.replace() to change the " to \", but it may cause some upexpected
>>> problem,so I want to know if the common exec can do it ?
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>> For additional commands, e-mail: user-help@commons.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message