title: Get command line from calling process
body: <p>We use a software which is capable of using scripts for different tasks.</p>
  
  <p>In one script I want to start a little helper tool to input some additional data. Therefore I need to know the command line parameters of the calling software shown in the picture below.</p>
  
  <p><a href="https://i.stack.imgur.com/pfWT6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pfWT6.png" alt="TaskManager - Command line parameters"></a></p>
  
  <p>Is there a possibility to get these from the calling process or at least to get them by looking for the "Image Name"?</p>