Use the impersonated token to spawn the shell by default
git-svn-id: file:///home/svn/framework3/trunk@8326 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
7684a6a260
commit
7d88f394b4
|
@ -143,7 +143,7 @@ class Console::CommandDispatcher::Stdapi::Sys
|
||||||
def cmd_shell(*args)
|
def cmd_shell(*args)
|
||||||
path = client.fs.file.expand_path("%COMSPEC%")
|
path = client.fs.file.expand_path("%COMSPEC%")
|
||||||
path = (path and not path.empty?) ? path : "cmd.exe"
|
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
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue