[exec] Execution fails with quoted arguments

2014-04-24 Thread Paulo Roberto Massa Cereda
Dear friends, For some time, I was sure issue #54 (https://issues.apache.org/jira/browse/EXEC-54) was the culprit of one my programs misbehaving. Today, I decided to devote some time in understanding what's been happening in my code and apparently issue #54 does not appear to be culprit

Re: [exec] Execution fails with quoted arguments

2014-04-24 Thread Paulo Roberto Massa Cereda
then .aux Cheers, Siegfried Goeschl On 24.04.14 14:36, Paulo Roberto Massa Cereda wrote: Dear friends, For some time, I was sure issue #54 (https://issues.apache.org/jira/browse/EXEC-54) was the culprit of one my programs misbehaving. Today, I decided to devote some time in understanding what's been

Re: [exec] Execution fails with quoted arguments

2014-04-24 Thread Paulo Roberto Massa Cereda
Cheers, Siegfried Goeschl On 24.04.14 15:07, Paulo Roberto Massa Cereda wrote: Hello Siegfried! Wow, thanks for the fast response. :) Deeply sorry, I forgot to mention the environment. I'm running my code under Linux (Fedora 20, Java 1.7.0) and MacOSX (Mavericks, 10.9.2). I was unaware of the .aux

Re: [exec] Execution fails with quoted arguments

2014-04-29 Thread Paulo Roberto Massa Cereda
that commons-exec2 running on JDK 1.7+ would be a nice pet project of mine On 29 Apr 2014, at 18:25, Paulo Roberto Massa Cereda cereda.pa...@gmail.com wrote: Hi Siegfried, hey guys! Now I'm more puzzled after running the following test with ProcessBuilder: ** @Test public void

[lang] SystemUtils and Cygwin

2015-01-01 Thread Paulo Roberto Massa Cereda
Dear friends, I have to execute a certain system command according to the underlying operating system; so far, SystemUtils works like a charm. But now I'm facing a quite peculiar situation: I'd need to run a different code if my Java application is being invoked from a Cygwin session. I do

Re: [lang] SystemUtils and Cygwin

2015-01-02 Thread Paulo Roberto Massa Cereda
Hello, Martin! Oh I forgot about wine! It's been more than 6 years without any trace of a Windows executable for me. :) Thanks for the hint, I'll do some experiments. Let's see how things go. :) All the best! Paulo On 01-01-2015 21:10, Martin Gainty wrote: Date: Thu, 1 Jan 2015

Re: [lang] SystemUtils and Cygwin

2015-01-02 Thread Paulo Roberto Massa Cereda
to solve it. :) Cheers! Paulo On 01-01-2015 21:12, Jörg Schaible wrote: Hi Paulo, Paulo Roberto Massa Cereda wrote: Dear friends, I have to execute a certain system command according to the underlying operating system; so far, SystemUtils works like a charm. But now I'm facing a quite

Re: [lang] StringEscapeUtils - from euro; to #8364;

2015-06-25 Thread Paulo Roberto Massa Cereda
Hello, Geraldo. :) I once had to achieve something similar, so I created a new CharSequenceTranslator aggregating my own lookup table and the original arrays of entities. I had something along these lines: --- private static final CharSequenceTranslator HTML4_EURO

Re: Question about URLValidator#isValid

2016-09-10 Thread Paulo Roberto Massa Cereda
'ello, The lack of a domain suffix in the first URL (that is, only 'localhost') is the reason the first URL is failing. :) Best, Paulo Em 10-09-2016 18:16, Philippe Mouawad escreveu: But it appears it's not the reason for which false is return: -

Re: Question about URLValidator#isValid

2016-09-10 Thread Paulo Roberto Massa Cereda
'ello, I believe it's case for using a RegexValidator in order to accept localhost and passing it to the URLValidator constructor. Cheerio! Paulo Em 10-09-2016 11:42, Philippe Mouawad escreveu: Hello, Is this URL valid: http://localhost/IqGo6EM1JEVZ+MSRJqUSo@qhjVMSFBTs/37/0/1 For me it

Re: Commons Exec with [exec]: {127=Process exited with an error: 127 (Exit value: 127)}

2016-09-17 Thread Paulo Roberto Massa Cereda
'ello, I'd try building the command arguments through a sequence of addArgument(...) calls instead of relying on parse(...), which could be very tricky (mainly due to quoting). Best, Paulo Em 17-09-2016 19:14, Ranjith Mandala escreveu: On Sat, Sep 17, 2016 at 3:12 PM, Ranjith Mandala

Re: Commons Exec with [exec]: {127=Process exited with an error: 127(Exit value: 127)}

2016-09-19 Thread Paulo Roberto Massa Cereda
sell Sherk <russell.sh...@roguewave.com> >> >> wrote: >> >> >> >>> Please Google error code 127. The command you are trying to run may not be >> >>> on the path. >> >>> >> >>> --Russ >> >>> >

Re: [codec] Base32 decode is not case-insensitive?

2017-05-01 Thread Paulo Roberto Massa Cereda
017 14:31, Paulo Roberto Massa Cereda escreveu: 'ello! I suspect it has something to do with Douglas Crockford's base32 [1]: -8<--- The encoding scheme is required to * Be human readable and machine readable. * Be compact. Humans have difficulty in manipulating lon

Re: [codec] Base32 decode is not case-insensitive?

2017-05-01 Thread Paulo Roberto Massa Cereda
'ello! I suspect it has something to do with Douglas Crockford's base32 [1]: -8<--- The encoding scheme is required to * Be human readable and machine readable. * Be compact. Humans have difficulty in manipulating long strings of arbitrary symbols. * Be error