microsoft / microsoft/vscode-cpptools

bash history showing env sh /tmp/Microsoft-MIEngine-Cmd*

Open
#2,904 3 comments 5 reactions 1 assignee View on GitHub

@WardenGnaw is already working on this.

Since Dec 7, 2018.

debugger
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

Issue Type: Bug

My bash history showing entries of the form:
env sh /tmp/Microsoft-MIEngine-Cmd*

I use C/C++ tools 0.20.1 and vscode 1.29.1. The command in question is run internally by ether vscode itself or the C/C++. This triggers on every debug run. Adding a space in front the command when it is sent to the shell will prevent it from being logged by bash. I don't expect to see internal commands in the .bash_history file.

Extension version: 0.20.1
VS Code version: Code 1.29.1 (bc24f98b5f70467bc689abf41cc5550ca637088e, 2018-11-15T19:07:43.495Z)
OS version: Linux x64 4.18.0-12-generic

System Info
Item Value
CPUs Intel(R) Core(TM) i3-3227U CPU @ 1.90GHz (4 x 943)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: disabled_software
video_decode: unavailable_software
video_encode: unavailable_software
webgl: enabled
webgl2: enabled
Load (avg) 1, 1, 1
Memory (System) 5.69GB (0.30GB free)
Process Argv --unity-launch
Screen Reader no
VM 0%

*Adding a space works only if bash is configured not to record such lines as it is in my setup.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.