Re: Fetching path from ps-or-proc.

2012-04-16 Thread Camaleón
On Mon, 16 Apr 2012 01:47:12 +0700, Sthu Deus wrote: (...) > My questions are: > > . why only one char. is represented w/ '?' - and not all of them? It can be a single accented "á" (or another special character) which fails to render properly. > . I use utf-8 env. how I can fetch the path usin

Fetching path from ps-or-proc.

2012-04-15 Thread Sthu Deus
Good time of the day. Please help me to fix my problem. I will start w/ its description. I need to fetch a file path. I can do so by: . ps -AHf | grep [...] (as it is visible from command parameters) . cat /proc/n/cmdline (same command arguments) Problem is that as the path contains UTF-8 cha