Full path name

How can I get the full path name (dir/executablename) of a TApplication?

Thanks
Paolo

Use:root [0] gProgPath (const char* 0x24364d0)"/home/pcanal/root_working/code/root.untouched/bin" root [1] gProgName (const char* 0x2437510)"root.exe"
Cheers,
Philippe