Updated external_exec to use proc_open

This commit is contained in:
laf
2014-03-04 12:52:36 +00:00
parent 6c64e98bdf
commit 413ef2082f
3 changed files with 37 additions and 4 deletions

View File

@@ -89,7 +89,7 @@ function poll_sensor($device, $class, $unit)
function poll_device($device, $options)
{
global $config, $device, $polled_devices, $db_stats, $memcache;
global $config, $device, $polled_devices, $db_stats, $memcache, $exec_response;
$attribs = get_dev_attribs($device['device_id']);