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

Tasks don't work at all with tmux setup #29620

Closed
joaomoreno opened this issue Jun 27, 2017 · 4 comments
Closed

Tasks don't work at all with tmux setup #29620

joaomoreno opened this issue Jun 27, 2017 · 4 comments
Assignees
Labels
feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code tasks Task system issues
Milestone

Comments

@joaomoreno
Copy link
Member

Testing #29618

I have a setup which persists terminal sessions across Code executions, described here: https://medium.com/@joaomoreno/persistent-terminal-sessions-in-vs-code-8fc469ed6b41

With this setup, I can't run any tasks. When running a task, the Terminal pops up and nothing happens.

@dbaeumer dbaeumer added feature-request Request for new features or functionality tasks Task system issues labels Jun 27, 2017
@dbaeumer dbaeumer added this to the On Deck milestone Jun 27, 2017
@dbaeumer
Copy link
Member

I tried this for the May release and it is very tricky. Besides starting the task output scanning is difficult since you can spilt the task which the terminal as no idea of. It is basically one terminal instance having multiple windows using ASCII art.

May be we need to sit together to see what I can do here.

@dbaeumer
Copy link
Member

dbaeumer commented Jun 27, 2017

However an idea is to allow you to force a shell to use using the following top level options

	"options": {
		"shell": {
			"executable": "bash",
			"args": ["-c"]
		}
	},

Currently a shell can only be defined on a specific task.

@dbaeumer dbaeumer modified the milestones: On Deck, Backlog Nov 9, 2017
@jgardner04
Copy link

I have a similar issue where my default terminal is zsh and auto starts tmux by default. Launching VSCode from the Application folder or the doc on my mac causes most of the tasks to fail. If I launch VSCode via the command line code . it would work. When I don't auto start tmux in my .zshrc file launching from the application folder or the dock has the taks working correctly. Hope the context helps.

@alexr00 alexr00 assigned alexr00 and unassigned dbaeumer Oct 7, 2019
@alexr00
Copy link
Member

alexr00 commented Oct 9, 2019

Making tmux work with tasks is out of scope. But with the new setting "terminal.integrated.automationShell.linux" you can work around this.

@alexr00 alexr00 closed this as completed Oct 9, 2019
@alexr00 alexr00 added the *out-of-scope Posted issue is not in scope of VS Code label Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code tasks Task system issues
Projects
None yet
Development

No branches or pull requests

4 participants