I'm curious if anyone has tried using the PHP exec() function to call darcs on a web server.<br><br>I'm trying it on a W2k3 box (IIS6, PHP5) and some commands work okay ('darcs add', 'darcs whatsnew') but others don't ('darcs record').
<br><br>I'm using command line options so that darcs does not offer any interactive prompts:<br><pre>darcs  record -v --repodir ./repos --patch-name &quot;Test of Darcs commit 3&quot; --all --skip-long-comment --author &quot;James Van Lommel&quot; 
test.csv</pre>When I call it from PHP, I get:<br><pre>Recording changes in &quot;test.csv&quot;:<br><br>About to get the unrecorded changes.<br>diffing dir...<br>I've gotten unrecorded.<br>Writing the patch file...<br>Applying to current...
</pre>and it returns a &quot;1&quot;.<br>Yet if I run the exact same command from the command prompt, I get:<br><br><font size="1"><span style="font-family: courier new,monospace;">Recording changes in &quot;test.csv&quot;:
</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">About to get the unrecorded changes.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">diffing dir...</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">I've gotten unrecorded.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Writing the patch file...</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Applying to current...</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Syncing timestamps...</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Finished recording patch 'Test of Darcs commit 3'
</span></font><br><br>Any ideas why the PHP exec() call would quit right before the &quot;syncing timestamps&quot; part? Should I bug the devel mailing list with this one? Any help is appreciated...<br><br>- James<br>