U++ framework
Do not panic. Ask here before giving up.

Home » Developing U++ » UppHub » Added SysExec package
Re: Added SysExec package [message #30764 is a reply to message #19194] Fri, 21 January 2011 00:13 Go to previous messageGo to previous message
mdelfede is currently offline  mdelfede
Messages: 1310
Registered: September 2007
Ultimate Contributor
New functions to SysExec package (they were needed for Updater one) :

SysStart() series, starts an app without waiting for its completion

SysExecAdmin() series starts an app as the root user (linux) or admin user (windows) waiting for its completion. On linux you must provide a password, on windows it shows the security dialog before proceeding.
By now, the windows version DON'T wait for completion, I must still finish it

SysStartAdmin() same as above, don't wait for completion.

SysExecUser()
SysStartUser()

Same as above, for a given user (linux). On windows, they fall back to SysExec() and SysStart().

The most important are the xxxAdmin() functions, which allow to start administrative tasks on Vista/Windows7 too.
Latest 2 allows app to go back to normal user on Linux; on windows I don't know if it's possible.

Ciao

Max
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [SOLVED] Control4U_demo cannot close ?
Next Topic: Job package: A lightweight worker thread for non-blocking operations.
Goto Forum:
  


Current Time: Sun Apr 26 00:08:51 GMT+2 2026

Total time taken to generate the page: 0.01204 seconds