I'm actually running on Windows, but I'm actually spawning off (from scmbug Daemon) a windows program which runs as a PDF converter (That then used a print driver, opens the document and prints to it).
It didn't like running as a remote Subversion user, it just wouldn't do anything :-( By getting the Daemon to do the actual running of the PDF program it runs as the same user as the Daemon that then seems to work without a problem. [It is currently configured as a post commit hook] > -----Original Message----- > From: Kristis Makris [mailto:[EMAIL PROTECTED] > Sent: 18 January 2007 17:14 > To: Robert Hudson > Cc: [email protected] > Subject: RE: [scmbug-users] Generic Run Command for the Daemon > > How is this different than running a command through ssh or rsh ? > > When do you need to run the hooks ? > > On Thu, 2007-01-18 at 08:44 -0800, Robert Hudson wrote: > > > > I have attached a text file of how to use the command > interface that I > > have suggested. > > > > Thanks > > > > Rob > > > > > > > > > > > ______________________________________________________________ > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Robert Hudson > > Sent: 18 January 2007 15:45 > > To: [email protected] > > Subject: [scmbug-users] Generic Run Command for the Daemon > > > > > > > > Hi Kristis, > > > > I have been messing about with some Subversion hook code to > > convert documents to PDF when they are committed to the > > repository. I had a problem where I could not get a remote > > user to get the spawned PDF converter to run (It just hung). > > [Running directly on the machine worked successfully]. > > > > I found a solution with the help of the Scmbug Daemon. I > > added an extra interface to the Scmbug Daemon that > simply ran > > a command that was passed to it. It worked a treat. The > > additional code for Scmbug was only a few lines and > I think it > > means that the Daemon can be re-used for other simple tasks. > > > > In my case it saves me having to run two daemons on the same > > machine (And obviously I get to re-use all the code that you > > have already written). > > > > Would you be willing to integrate this change to scmbug for > > me? (It would mike my life a hell of a lot easier!) > > > > I know it isn't strictly source control related, but it is a > > very generic interface that I think could be useful to a lot > > of people. > > > > Thanks > > > > Rob > > > > _______________________________________________ > > scmbug-users mailing list > > [email protected] > > http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users > > _______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
