Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.
Brian Smith wrote: > Arvind Raman wrote: > >> Executable (date; cat; (sleep 2; cd /c/temp;cvs -q >> update -d) &) >> >> :local:c:/cvsrepository/CVSROOT/updatelog 2>&1 not >> found > > > CVS seems to be interpreting your whole line as the name of the program > that it should be running. So, I recommend that you try to put the > commands in a batch file and run the batch file during commit instead, > like the other user suggested. Nope. Won't work. Of those commands, only date and cvs exist on NT. Putting them into a batch file has no more effect; the line listed above *only* works under *nix. > > I'm curious about this discussion of background processes. What does the > idea of background process have to do with this problem? The '&' character on *nix systems will create a background shell process that will do the autoupdate after sleeping for 2 seconds. The sleep is vital because the original cvs process has a lock on the file which is not released until the commit is completed. NT does not have a comparable construct. John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 _______________________________________________ Cvsnt mailing list Cvsnt at cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs