commit-email.pl errors on Win2000 (was RE: Are there anyone running Subversion server on Window NT?)
From: Jeff Cave <jeff.cave_at_sunergon.com>
Date: 2003-05-06 21:11:11 CEST
Alright I have to conceed defeat :(
I have no idea how to fix this problem I am having. I cannot get the commit-email.pl to run at all. I just don't have enough perl knowledge.
I have it narrowed down to a couple of lines of code, but don't know enough to figure out what they are doing. It seems that every call to safe_read_from_pipe causes the error:
'-' is not recognized as an internal or external command,
safe_read_from_pipe is called from read_from_process. There are 4 calls to it:
Line 211: my @svnlooklines = &read_from_process($svnlook, 'info', $repos, '-r', $rev);
So of course the error occurs 4 times.
Please
The following two methods are the offending ones and I have marked the place in the code that the error displays at.
# Start a child process safely without using /bin/sh.
my $pid = open(SAFE_READ, '-|');
# Use safe_read_from_pipe to start a child process safely and return
|
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.