You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's a PHP bug 44942:
https://bugs.php.net/bug.php?id=44942
When executing wmic.exe to fetch software/hardware information, it will hang:
ob_start();
$ret = system("C:\Windows\System32\wbem\wmic.exe path win32_computersystemproduct get uuid");
$output = ob_get_contents();
ob_end_clean();
Tried using WScript.Shell COM object and its method Exec() instead, but it
failed as well.
We may introduce ExecuteCommand function to javascript API.
Another option is to create a helper executable for eg. exec-cmd.exe that would
work around the PHP bug, it would be called like this:
system("exec-cmd.exe \"C:\Windows\System32\wbem\wmic.exe path win32_computersystemproduct get uuid\"");
Original issue reported on code.google.com by czarek.t...@gmail.com on 3 Oct 2014 at 3:56
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
czarek.t...@gmail.com
on 3 Oct 2014 at 3:56The text was updated successfully, but these errors were encountered: