Use the impersonated token to spawn the shell by default

git-svn-id: file:///home/svn/framework3/trunk@8326 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2010-01-29 17:35:30 +00:00
parent 7684a6a260
commit 7d88f394b4
1 changed files with 5 additions and 5 deletions

View File

@ -143,7 +143,7 @@ class Console::CommandDispatcher::Stdapi::Sys
def cmd_shell(*args)
path = client.fs.file.expand_path("%COMSPEC%")
path = (path and not path.empty?) ? path : "cmd.exe"
cmd_execute("-f", path, "-c", "-H", "-i")
cmd_execute("-f", path, "-c", "-H", "-i", "-t")
end