Re: [users@httpd] command line app behaves differently when called from http request context

2014-03-08 Thread Allasso Travesser
On Mar 8, 2014, at 12:46 PM, Eric Covener wrote: > On Sat, Mar 8, 2014 at 2:27 PM, Allasso Travesser > wrote: >> >> On Mar 8, 2014, at 10:15 AM, Eric Covener wrote: >> >>> On Sat, Mar 8, 2014 at 12:07 PM, Allasso Travesser >>> wrote: But it doesn't matter which user, if run from comman

Re: [users@httpd] command line app behaves differently when called from http request context

2014-03-08 Thread Eric Covener
On Sat, Mar 8, 2014 at 2:27 PM, Allasso Travesser wrote: > > On Mar 8, 2014, at 10:15 AM, Eric Covener wrote: > >> On Sat, Mar 8, 2014 at 12:07 PM, Allasso Travesser >> wrote: >>> But it doesn't matter which user, if run from command line, behavior is one >>> way, (correct way), if run from htt

Re: [users@httpd] command line app behaves differently when called from http request context

2014-03-08 Thread Allasso Travesser
On Mar 8, 2014, at 10:15 AM, Eric Covener wrote: > On Sat, Mar 8, 2014 at 12:07 PM, Allasso Travesser > wrote: >> But it doesn't matter which user, if run from command line, behavior is one >> way, (correct way), if run from http request, behavior is incorrect. > > Compare environment variabl

Re: [users@httpd] command line app behaves differently when called from http request context

2014-03-08 Thread Allasso Travesser
On Mar 8, 2014, at 10:15 AM, Eric Covener wrote: > On Sat, Mar 8, 2014 at 12:07 PM, Allasso Travesser > wrote: >> But it doesn't matter which user, if run from command line, behavior is one >> way, (correct way), if run from http request, behavior is incorrect. > > Compare environment variabl

Re: [users@httpd] command line app behaves differently when called from http request context

2014-03-08 Thread Eric Covener
On Sat, Mar 8, 2014 at 12:07 PM, Allasso Travesser wrote: > But it doesn't matter which user, if run from command line, behavior is one > way, (correct way), if run from http request, behavior is incorrect. Compare environment variables between the two environments?

[users@httpd] command line app behaves differently when called from http request context

2014-03-08 Thread Allasso Travesser
Hello, I have a command line app, apertium, that I am trying to run from cgi script. It is an english to spanish translator, and I have observed that the output of the command is different (and incorrect or UTF-8 encoding) when run from an http request, than when run on the command line on the