Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

task not run with integrated shell args #31998

Closed
pierlucgirard opened this issue Aug 3, 2017 · 1 comment
Closed

task not run with integrated shell args #31998

pierlucgirard opened this issue Aug 3, 2017 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) tasks Task system issues

Comments

@pierlucgirard
Copy link

pierlucgirard commented Aug 3, 2017

  • VSCode Version: 1.14.2
  • OS Version: Windows 10

Shell commands in tasks does not get run if there's a startup call linked to the integrated terminal.

shell.bat
echo Test

Steps to Reproduce:

  1. Use these settings :
    "terminal.integrated.shell.windows": "C:\\Windows\\system32\\cmd.exe",
    "terminal.integrated.shellArgs.windows": [
         "/k .\\shell.bat"
    ],

with this task :

"version": "2.0.0",
"tasks": [{
    "taskName": "Hello World!",
    "command": "echo Hello World!",
    "type": "shell",
    "presentation": {
      "echo": true,
      "reveal": "always",
      "focus": false,
      "panel": "shared"
    }
  }
  1. Run task.
  2. See that "Test" is printed out, but not "Hello World!"

Reproduces without extensions: Yes

@vscodebot vscodebot bot added the terminal General terminal issues that don't fall under another label label Aug 3, 2017
@Tyriar Tyriar added tasks Task system issues and removed terminal General terminal issues that don't fall under another label labels Aug 21, 2017
@Tyriar Tyriar assigned dbaeumer and unassigned Tyriar Aug 21, 2017
@dbaeumer
Copy link
Member

Dups #32955

@dbaeumer dbaeumer added the *duplicate Issue identified as a duplicate of another issue(s) label Aug 22, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) tasks Task system issues
Projects
None yet
Development

No branches or pull requests

3 participants