Re: g_spawn_* has problem with ~ in PATH



Jasper Huijsmans <j b huijsmans hetnet nl> writes:
> 
> It seems that the g_spawn_* functions don't work properly when there is
> a ~ in the PATH (~/bin in my case). Is this a misconfiguration of my
> system (Linux, slackware-current) or did I really uncover a bug?
> 

~ is intepreted by the shell; g_spawn doesn't use the shell at all.
execvp() won't understand ~ either.

Havoc



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