ksafranski / Codiad-Terminal

Terminal Emulator Plugin for Codiad IDE
29 stars 25 forks source link

error in php exec command #7

Open neissa opened 10 years ago

neissa commented 10 years ago

in term.php in the function Execute

you wrote

else if(function_exists('exec')){ exec($this->command_exec , $this->output); $this->output = implode("\n" , $output); }

it should be else if(function_exists('exec')){ $output = array(); exec($this->command_exec , $output); $this->output = implode("\n" , $output); }