since Erlang views are not sandboxed IIRC, this should be possible. On 15.06.2010, at 09:42, Cillian de Róiste wrote:
> Hi, > > I would like to write a CouchDB app which creates an inventory of > files on the user's computer. I know I could write a client in Python > which would update CouchDB but I would really like to be able to do it > all from the couchdb app. Is there a way to call system commands from > CouchDB with JavaScript (or Erlang)? Something similar to Python's > subprocess module would be perfect: > http://docs.python.org/release/2.5.2/lib/module-subprocess.html > > Many thanks, > Cillian