Forum Moderators: coopster & phranque

Message Too Old, No Replies

I/O with Subversion post-commit script

         

cschults

9:31 pm on Sep 8, 2008 (gmt 0)

10+ Year Member



I'd like to write a Perl-based post-commit script for Subversion that asks the user if they want to copy the committed files to the staging server, production server or both.

While my post-commit script is executing, simple print statements don't appear on the screen. I figure I'll address this before attempting to obtain user input.

I'm guessing I need to redirect STDOUT or something. Any ideas or suggested resources?

Chris

phranque

6:34 am on Sep 20, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



you probably want to autoflush the buffer for STDOUT.