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

"cwd": "${fileDirname}" on Linux not working #64998

Closed
chiboreache opened this issue Dec 13, 2018 · 4 comments
Closed

"cwd": "${fileDirname}" on Linux not working #64998

chiboreache opened this issue Dec 13, 2018 · 4 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@chiboreache
Copy link

chiboreache commented Dec 13, 2018

"options": { "cwd": "${fileDirname}" }

custom task rule on Linux - not working

@chiboreache
Copy link
Author

"presentation": {
                "reveal": "silent",
                "panel": "new"
            }

also

@isidorn isidorn assigned alexr00 and unassigned isidorn Dec 14, 2018
@alexr00
Copy link
Member

alexr00 commented Dec 14, 2018

@chiboreache, this is the task that I tried to reproduce with:

        {
		"type":"shell",
		"command": "ls",
		"options": {
			"cwd": "${fileDirname}"
		},
		"label": "DIR TASK",
		"problemMatcher": [],
		"presentation": {
			"reveal": "silent",
			"panel": "new",
		}
	}

I can't reproduce the issue though. Can you try with this task and see if it works?

@alexr00 alexr00 added the info-needed Issue requires more information from poster label Dec 14, 2018
@chiboreache
Copy link
Author

chiboreache commented Dec 15, 2018

Thanks Alex, it helped!

Problem was in addon, standard approach for running tasks and cwd'ing directory - works just fine

ps: same issues were opened almost a year ago on the author’s page, it seems that the addon is abandoned, so would be nice to have this feature implemented by default, very useful ;)

screenshot_20181215_140816

@alexr00
Copy link
Member

alexr00 commented Dec 17, 2018

We're exploring how and whether we want to have some UI for tasks. If you want to follow it is this issue: #28235

@alexr00 alexr00 closed this as completed Dec 17, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

3 participants