svn does not react to Ctrl-C when a background process has an unredirected stdout
From: Vincent Lefevre <vincent-svn_at_vinc17.net>
Date: Mon, 5 Sep 2016 15:28:00 +0200
I've finally found a way to reproduce the following old bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502222
(it still occurs with svn 1.9.4).
Make SVN_SSH point to the following script:
----------------------------------------
sleep 10 &
while true; do :; done
Do a "svn up" and Ctrl-C. Then svn terminates only when "sleep"
----------------------------------------
sleep 10 > /dev/null &
while true; do :; done
then the problem disappears, i.e. Ctrl-C immediately terminates svn.
Note: The reason this problem occurs in my case is that my script
-- Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)Received on 2016-09-05 15:28:11 CEST |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.