* Buckley, Bryan (GE EntSol, Intelligent Platforms) on Monday, March 16, 2009 
at 09:34:00 -0400
> Can someone show me a usage of getpid() inside of vim? Currently to get
> the pid from inside vim i have to do something like:
> 
> !ps | echo $PPID

I'm not sure I understand, but how about:

:echo getpid()

c
-- 
  Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]
_F R E E_  _V I D E O S_  http://www.blacktrash.org/underdogma/
                          http://www.blacktrash.org/underdogma/index-en.html

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to