use system()

This commit is contained in:
Christopher 2020-10-24 13:50:20 +02:00
parent 445ba5e7ae
commit 1eb8cb3ee2
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ if(isset($_SESSION['LOGIN']))
{
file_put_contents($filename, $command);
exec('cat '.$filename.' | socat EXEC:"docker attach '.$container['Id'].'",pty STDIN');
system('cat '.$filename.' | socat EXEC:"docker attach '.$container['Id'].'",pty STDIN');
}
}
}