Lorian Posted June 21, 2006 Share Posted June 21, 2006 [i]Modified title, different problem now, see 2nd post[/i]Is there any way to run applications using exec or system or something as a different user (Ie. not the default SYSTEM user). I have tried runas, but that requires that the password is entered after the command is sent, which is impossible. I tried CPAU, but that gives an error saying it doesn't work under the LocalSystem account. I need to be able to run a program under my username (Chris), but I can't figure out how to do it... Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/12530-execute-a-program-in-the-foreground/ Share on other sites More sharing options...
Lorian Posted June 21, 2006 Author Share Posted June 21, 2006 Ok, well I managed to get the user as Chris, by changing the user that the Apache service runs at. But now, programs run under my username, but they appear to be in the background, how do I make it into a foreground window? Quote Link to comment https://forums.phpfreaks.com/topic/12530-execute-a-program-in-the-foreground/#findComment-48008 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.