Created
May 4, 2018 14:01
-
-
Save koolquark/5ac00c89c803c751fdb756b5b2f4746d 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
% Run in Erlang Shell | |
% See initial call, ancestors in process_info | |
ShellPid = self(). | |
PFun = fun() -> Pid = self(), ShellPid ! [Pid,erlang:process_info(Pid)] end. | |
proc_lib:spawn(PFun). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment