Re: [exec] Execution fails with quoted arguments

2014-04-29 Thread Siegfried Goeschl
Hi Paulo, to be honest I’m puzzled as well - I think I need to play with your example to understand the difference of the invocations I keep you in the loop :-) Cheers, Siegfried Goeschl PS: I also think that commons-exec2 running on JDK 1.7+ would be a nice pet project of mine On 29 Apr

Re: [exec] Execution fails with quoted arguments

2014-04-29 Thread Siegfried Goeschl
Hi Paulo, it is politically probably not correct but you might checkout https://github.com/zeroturnaround/zt-exec * currently looking at the source and it looks familiar to me :-) * it is ASL 2.0 * it is available on Maven Central * maybe this could be the starting point for commons-exec2

Re: [exec] Execution fails with quoted arguments

2014-04-29 Thread Paulo Roberto Massa Cereda
Hello Siegfried, Thanks for the reference! I just tested it right now and -- wow! -- it works like a charm. As a side effect, now I'm far more intrigued to understand where things are apparently failing on my end. I didn't give up on commons-exec though. :) And I really wish to contribute

Re: [exec] Execution fails with quoted arguments

2014-04-28 Thread Siegfried Goeschl
Hi Paulo, I’m also a bit puzzled :-) 1) Can you remove the “.aux” extension when invoking “bibtex”? 2) Please check http://tex.stackexchange.com/questions/112606/how-to-make-space-recognized-in-bib-filename-when-setting-bibliography Cheers, Siegfried Goeschl On 24 Apr 2014, at 15:36, Paulo

[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 Siegfried Goeschl
Hi Paulo, some stupid thought and it might not even be related to your problem aux is under Windows a reserved and can't be used as file name - see http://en.wikipedia.org/wiki/Filename - are you running the stuff under WIndows? Is it possible to rename the offending file to something

Re: [exec] Execution fails with quoted arguments

2014-04-24 Thread Paulo Roberto Massa Cereda
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 thing under Windows, it's good to know about it; TeX tools use .aux

Re: [exec] Execution fails with quoted arguments

2014-04-24 Thread Siegfried Goeschl
Hi Pauolo, sorry for the next dumb question (but I'm actually quite good at it) * what is the result of the failed bibtex invocation? * is bibtex a native binary or a shell script? * depending on the error - can you replace the bibtex with a shell script to dump the current working directory

Re: [exec] Execution fails with quoted arguments

2014-04-24 Thread Paulo Roberto Massa Cereda
Hello Siegfried, sorry for the next dumb question (but I'm actually quite good at it) Don't say such thing, you are helping me a lot with these questions. :) There we go: * what is the result of the failed bibtex invocation? The message prompted is - I couldn't open file