Skip to content

Instantly share code, notes, and snippets.

@positron
Created May 19, 2015 18:58
Show Gist options
  • Save positron/c6a8a3a1797b29c01653 to your computer and use it in GitHub Desktop.
Save positron/c6a8a3a1797b29c01653 to your computer and use it in GitHub Desktop.
I haven't piped stdin to the log file
$ cat log.txt
Python 2.7.6 (default, Sep 9 2014, 15:04:36)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 'a'
>>> 'b'
>>>
$ node server.js
Python 2.7.6 (default, Sep 9 2014, 15:04:36)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 'a'
'a'
>>> 'b'
'b'
>>> exit()
server exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment