Re: where is error? (Glib::spawn_async)



Paul Pogonyshev wrote:
> Michael J M Thomson wrote:
> > Paul Pogonyshev wrote:
> > > [...]
> > > 	  Glib::spawn_async (".", yelp_arguments, std::vector <std::string> (),
> > > 			     Glib::SPAWN_SEARCH_PATH);
> > > [...]
> > > 
> > 
> > The third argument you're passing to Glib::spawn_async(), 
> > std::vector<std::string>(), you shouldn't (and don't need to).
> 
> Then what should I pass instead?  Empty array is meant as "pass environent
> uchanged", not "pass empty environment".

Aha, I pass nothing which works due to overload.  Thanks.

Paul



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