diff options
Diffstat (limited to 'it.class')
| -rw-r--r-- | it.class | 4 | 
1 files changed, 2 insertions, 2 deletions
@@ -627,7 +627,7 @@ static function exec(/* $cmd, $values1 = array(), ... */)  	$cmd = call_user_func_array('it::shell_command', $args);  	$before = gettimeofday(true); -	$result = EDC('noexec') ? "" : (string)shell_exec($cmd); +	$result = EDC('noexec') ? "" : (string)shell_exec("set +o posix\n" . $cmd);  	@it::log('exec', round((gettimeofday(true) - $before)*1000) . "\t$cmd"); @@ -647,7 +647,7 @@ static function system(/* $cmd, $values1 = array(), ... */)  	$before = gettimeofday(true);  	if (!EDC('noexec')) -		system($cmd, $result); +		system("set +o posix\n" . $cmd, $result);  	else  		$result = 0;  |