When starting my program from a Shell I can get the program's name via argv. (What it is on disk) How do I get when started from WB? I do this to check where started from:
I would like to get it from ThisProcess if possible. Edit: Entire path would be good, too. Can get name from that if need to.
- ThisProcess=(struct Process *)IExec->FindTask(NULL);
- if (ThisProcess->pr_CLI)