Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Subshells and parameters



On 2006-05-12 22:05:23 -0400, Lloyd Zusman wrote:
> Thanks. However, just as in my original message in the other thread,
> I'm wondering if there's a solution that doesn't require a separate
> executable. In other words, is it possible to get a subshell's pid
> in a zsh-only manner, without using anything like the "stat"
> executable nor the "getpid" utility described above?

You need a module, but this isn't implemented yet. Peter said:

  getpid() is another thing which could be added to the zsh/system
  module.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Messages sorted by: Reverse Date, Date, Thread, Author