title: Creating temporary named fifo in *nix system
body: <p>I have some tasks requiring massive temporary named pipes to deal with.</p>
  
  <p>Originally, I just simply think that generate random numbers, then append it as <code>&lt;number&gt;.fifo</code> be the name of named pipe.</p>
  
  <p>However, I found this post: <a href="https://stackoverflow.com/questions/1430446/create-a-temporary-fifo-named-pipe-in-python">Create a temporary FIFO (named pipe) in Python?</a></p>
  
  <p>It seems there is something I don't know that may cause some security issue there.</p>
  
  <p>So my question here is that, what's the best way to generate a named pipe? </p>
  
  <p>Notice that even though I am referencing a Python related post, I don't really mean to ask only in Python.</p>
  
  <p>UPDATE:</p>
  
  <p>Since I want to use a named pipe to connect unrelated processes, my plan is having process A call process B first via shell, and capture stdout to acquire the name of pipe, then both know what to open.</p>
  
  <p>Here I am just worrying about whether leaking the name of pipe will become an issue. Before I never thought of it, until I read that Python post.</p>