On Sat, Oct 01, 2011 at 11:12:51AM +0200, Stephan Beal wrote: > 2011/10/1 Lluís Batlle i Rossell <virik...@gmail.com> > > > Sorry, not that I care much about JSON, but can json be used in a way that > > a > > program *spawns* fossil and talks to it using json, until it decides it's > > enough and fossil stops? > > > > In theory, yes. It just has to start fossil server --port XYZ, send its > requests to localhost:XYZ/json/..., and kill of the spawned process when > it's done (because the server mode forks before json mode is entered, i > don't think i could add a json command to shut down the server).
But that's only a hack. The spawner will not know when the server will be listening. And killing it, will not know if anyone else uses it and it is working. _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users