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
However, we have found a need to alter the command to tag the output and send it to syslog e.g: "{$binary} {$worker} %s 2>&1 | logger -t sometag -s {$stderr} & echo $!"
With the current API we're unable to achieve this without taking a copy of the ProcessManager class (as it is designated as final).
It would be great to either be able to create a subclass ProcessManager and make amendments or alter the command via an expanded API.
The text was updated successfully, but these errors were encountered:
There is some ability to alter aspects of the shell command that is executed here:
https://github.com/asyncphp/doorman/blob/master/src/Manager/ProcessManager.php#L132
However, we have found a need to alter the command to tag the output and send it to syslog e.g:
"{$binary} {$worker} %s 2>&1 | logger -t sometag -s {$stderr} & echo $!"
With the current API we're unable to achieve this without taking a copy of the
ProcessManager
class (as it is designated asfinal
).It would be great to either be able to create a subclass
ProcessManager
and make amendments or alter the command via an expanded API.The text was updated successfully, but these errors were encountered: