Created
May 20, 2014 05:40
-
-
Save ferd/224f2668b2428d73be98 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```erlang | |
#!/usr/bin/env escript | |
%% -*- erlang -*- | |
%%! -nouser | |
main(_) -> | |
error_logger:tty(false), | |
user_drv:start(), | |
timer:sleep(infinity). | |
``` | |
``` | |
$ ./reshell | |
Erlang/OTP 17 [erts-6.0] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] | |
Eshell V6.0 (abort with ^G) | |
1> | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment