Add a flag #RunAsAdmin (?) to the to RunProgram() function

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Marc56us
Addict
Addict
Posts: 1600
Joined: Sat Feb 08, 2014 3:26 pm

Add a flag #RunAsAdmin (?) to the to RunProgram() function

Post by Marc56us »

Please add (if possible) a new flag for RunProgram() to run program as administrator.

I know there are examples that work well (Windows)
http://www.purebasic.fr/english/viewtop ... 13&t=54238
but a native function would be interesting

Linux can call 'sudo'.
For Mac, I don'k know.

Thanks
:wink: