From d1bee7168869698b2d4bf932f762c1137cbe0424 Mon Sep 17 00:00:00 2001 From: Tianle Xu Date: Sat, 23 Dec 2017 08:36:55 +0800 Subject: [PATCH] [+] Fix a typo. --- start.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/start.php b/start.php index ace5763..2ecdb05 100755 --- a/start.php +++ b/start.php @@ -59,7 +59,7 @@ $proc = @proc_open($cmd, $descriptorspec, $pipes, null, $env); stream_set_blocking($pipes[0], 0); - $conn->send("+ Complie.Start\r\n"); + $conn->send("+ Compile.Start\r\n"); $stdout = new TcpConnection($pipes[1]); $stdout->onMessage = function($c, $m) use ($conn){ @@ -81,7 +81,7 @@ proc_terminate($proc); $stat = proc_get_status($proc)['exitcode']; if($stat == 0){ - $conn->send("OK!\r\n+ Complie.End\r\n"); + $conn->send("OK!\r\n+ Compile.End\r\n"); $proc = @proc_open($out, $descriptorspec, $pipes, null, $env); $start = microtime(); stream_set_blocking($pipes[0], 0); @@ -115,7 +115,7 @@ }; }else{ - $conn->send("+ Complie.Error\r\n"); + $conn->send("+ Compile.Error\r\n"); } }; @@ -133,4 +133,4 @@ }; Worker::runAll(); - \ No newline at end of file +