shanedell commented on issue #652:
URL: 
https://github.com/apache/daffodil-vscode/issues/652#issuecomment-1579546421

   @mbeckerle So currently we allow for grabbing of the active terminal if it 
has the name `daffodil-debugger`, should we no longer do this? So if the code 
finds a terminal open with the name `daffodil-debugger` it will destroy it and 
open a new one to use for that instance to run. Once that terminal completes it 
will stay open so you can view output. So before each run of the debugger it 
will close any terminals with `daffodil-debugger` and start a fresh terminal. 
Does this sound like something you want?
   
   Also my plan is instead of letting the VSCode API decide what shell is used 
that it will automatically make windows use `bat` and macos/linux use `bash`. 
Specifically when it uses `bash` it runs:
   
   ```bash
   env -i bash --norc
   ```
   
   What this does is make a complete clean environment that will have no 
environment variables set. This protect against the issues you were seeing 
before. I am not sure what the way to do this on windows is currently.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to