title: how do I send var number to ps process list ubuntu in node.js with spawn with options?
body: <p>how do I send var number to ps process list Ubuntu in node.js with spawn?</p>
  <p>I have a var number for example : NUMBER_X : 12345</p>
  <p>I want that send number to process in list ps process ubuntu My code is this:</p>
  <pre><code>const subprocess = spawn([], {
  
    &quot;env&quot;:{
    ...process.env,
    NUMBER_X:1234
    },
    detached: true,
    stdio: 'ignore',
    
  });
  </code></pre>
  <p>I want when type:
  <code>ps -ef | grep process</code></p>
  <p>Then I want to see NUMBER_X in list process Ubuntu</p>
  <p>i use of spawn child process
  i want that send var number like x =1233 to process in ps list Ubuntu through options
  because we must get list running process
  and should I send id to each process in ps -ef | grep process</p>