[darcs-devel] darcs patch: Use System.Cmd.system to launch SSH
control master.
Eric Kow
eric.kow at gmail.com
Sat Mar 10 00:36:15 PST 2007
I made this patch on sort of a random hunch. It seems to solve the
ControlMaster hanging issues on my end... does it do the same for you?
The vague memory is that for my work, when calling some external
process, I used to have things that would randomly hang because my
program was blocking, waiting for some stream to be available, which it
would never be because the subprocess had already died. (Something like
that; it's all very hazy). The solution was to read from the stream,
even if you weren't using it, so that your program would not no longer
block on it. My explanation might be bunk, but that's the trigger that
led me to say, 'well, why don't we let System.Cmd take care of
everything?'
Sat Mar 10 09:31:37 CET 2007 Eric Kow <eric.kow at gmail.com>
* Use System.Cmd.system to launch SSH control master.
This might solve issues with darcs hanging with the SSH ControlMaster
feature.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 81019 bytes
Desc: A darcs patch for your repository!
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20070310/44d0fa3c/attachment-0001.bin
More information about the darcs-devel
mailing list