Re: g_option_context_parse under cron execution



--- Richard Boaz <riboaz xs4all nl> wrote:

> Yes, I've fully debugged the cron-executed version.  All arguments are
> identical to when executed from the command line, i.e., are properly
> constructed and fully valid.
> 
> I was wondering, too: Does this particular glib routine require there be a
> display available?  Still, I would expect the error structure to be filled
> if this were the case, but maybe not?
> 
> richard
> 
> On 10/3/07, Sergei Steshenko <sergstesh yahoo com> wrote:
> 
> Have you tried to replace (temporarily) you program with something simple
> written in, say, Perl or "C" that just prints ARGV ?
> 
> I mean, can it be that somehow wrong arguments are passed to your
> program from 'cron' ?
> 
> --Sergei.
> 

Well, in addition to DISPLAY environment variable I would also check
the importance/availability of STDIN.

--Sergei.


Applications From Scratch: http://appsfromscratch.berlios.de/


       
____________________________________________________________________________________
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]