Hello all,
Using Windows, Java, sigar-1.6.3.
I have on my Windows PC folder named in Russian with a space in the name. In that folder there is a txt file. After double clicking on that txt file - notepad process is started.
Getting process information (sigar.getProcArgs(pid)) about that notepad gives me 2(!) arguments! First is a part before the space and second - after the space in txt path...
Also Russian folder name is corrupted. But I've found the way to decode it - so that's a minor thing for me.
Has anybody any idea about getting correct argument list?
|