You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Sebastian Cohnen <se...@googlemail.com> on 2010/06/15 10:45:28 UTC
Re: Can I call system shell commands from server side CouchDB JavaScript or Erlang?
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