From cfc0ba9962b1b01a247a718df78a21448ccb6edf Mon Sep 17 00:00:00 2001 From: kevin_fourie Date: Mon, 21 Jan 2008 12:18:21 +0000 Subject: [PATCH] KTS-2859 "Unable to upload files in Windows XP and Windows 2003 - seemingly an MS Word issue only." Updated. Fixed automerge error. --- lib/util/ktutil.inc | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/lib/util/ktutil.inc b/lib/util/ktutil.inc index 070742a..275a7c8 100644 --- a/lib/util/ktutil.inc +++ b/lib/util/ktutil.inc @@ -209,15 +209,7 @@ class KTUtil { if(OS_WINDOWS){ $sCmd = 'call '.$sCmd; } - - $WshShell = new COM("WScript.Shell"); - $res = $WshShell->Run($sCmd, 0, $wait); - - $iRet = 0; - $aOutput = array($res); - }else{ - exec($sCmd, $aOutput, $iRet); - } + exec($sCmd, $aOutput, $iRet); $aRet['ret'] = $iRet; $aRet['out'] = $aOutput; -- libgit2 0.21.4