Bug: Using timeout causes "scp" related commands to fail
iPwnPancakes opened this issue ยท 0 comments
Hello again! ๐
So I noticed that while #86 fixed the issue for regular SSH commands, it did not fix the issues within the other commands. While contemplating on a fix, I came across a decision that I would like to get approval on:
$extraOptions
seems to be meant to eventually be transformed into a command's flags/options. But since we're leveraging Symfony/Process' timeout
, couldn't we just make a private $timeout
property, rather than holding the timeout value in $extraOptions
?
My rationale is that while I could just duplicate the filtering logic in:
Lines 242 to 248 in 169a920
to:
Lines 229 to 240 in 169a920
I think the better long term solution would be to just hold the value for the timeout in a different place than $extraOptions