mirror of
https://github.com/twisterarmy/twister-phpbot.git
synced 2025-01-26 22:54:25 +00:00
uniq bat filename (for parallelism)
This commit is contained in:
parent
e314117563
commit
528edd3bfd
@ -150,7 +150,7 @@ class TwisterPost
|
|||||||
|
|
||||||
protected function exec_win($cmd, &$output = null, &$return_var = null)
|
protected function exec_win($cmd, &$output = null, &$return_var = null)
|
||||||
{
|
{
|
||||||
$tempfile = '_php_exec.bat';
|
$tempfile = uniqid().'_php_exec.bat';
|
||||||
|
|
||||||
$bat = "@echo off\r\n"
|
$bat = "@echo off\r\n"
|
||||||
. "@chcp 65001 >nul\r\n"
|
. "@chcp 65001 >nul\r\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user