couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Cohnen <sebastiancoh...@googlemail.com>
Subject Re: Can I call system shell commands from server side CouchDB JavaScript or Erlang?
Date Tue, 15 Jun 2010 08:45:28 GMT
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


Mime
View raw message