Possible Duplicate:
Node.js Shell Script And Arguments
I'd like to get the output of a shell command as a string in node.js, but I'm not exactly sure where to start. An example of such a command is the bash command "ls", which lists the contents of the current folder, and prints the results in the terminal window. Is it possible to convert this output to a Javascript string?