title: C# external tool for SSMS - Reading from stdin
body: <p>I am trying to write an app that makes use of the external tools functionality of SQL Server Management Studio.</p>
  
  <p>To specify an external tool, you can enter a path to the app and specify some arguments to pass to the app via STDIN.</p>
  
  <p>Currently I just have a form that displays the arguments.  Every time I run the external tool I get a new instance of the application.  </p>
  
  <p>Ideally I would like for the first time I run the tool to load the application, and each subsequent running to take the arguments from STDIN and do something with them WITHOUT creating a new instance of the app.</p>
  
  <p>Is there anything I can do that could allow this, or am I stuck with lots of windows?</p>
  
  <p>Thanks in advance</p>