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). The little I read about the json implementation in fossil, it sounds to me > simply as RPC over http, so requiring a server ready listening at a known > address. > That's basically the case, yes. -- ----- stephan beal http://wanderinghorse.net/home/stephan/
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users