Process.stdout and process.stdin

Do process.stdout and process.stdin work in play.js? I’m trying to hack a quick test of some user import, and I’m finding that it doesn’t choke when I call process.stdout.write(), but it doesn’t display anything, either.

Hi :wave:

If you check the demo project “How to stdin” you can find an example. getStdout() and getStdin() are the functions you must use :slightly_smiling_face:

Thanks, I think I’d seen that when play.js first came out, but couldn’t find it this time.

1 Like