N
N
NOONE2015-09-21 13:27:44
PHP
NOONE, 2015-09-21 13:27:44

PHP, psexec does not output more than 4 kb to a file and freezes, how to fix it?

Good afternoon friends, please help me solve one very important problem, through psexec I can’t output information to a file more than exactly 4 kb, i.e. 4096b, after outputting 4kb, the psexec process works, but no more information is added to the file, we waited about 30 minutes, no progress, if you just run psexec through cmd, then everything works fine, but problems arise through the php script.
As soon as they didn’t try both through exec and through system and through passthru, the result is always the same. you need to use exactly psexec so that the grep process starts on the server on which the information is being searched for
Thanks for the help

$psexec_in = psexec \\\\dr-server grep "log" D:\\true22\\ss2.txt > \\\\dr-server\\D$\\true.txt
.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question