Current directory in task configuration works well only on one computer

  • Thread starter Thread starter Ofir423342
  • Start date Start date
O

Ofir423342

Guest
I have written some simple program named main.c which is compiled by a makefile, and both files are at folder named vsCleanTry.

I opened this folder at VS 2017, and then configured the following task in it:

{
"version": "0.2.1",
"tasks": [
{
"taskName": "PWD",
"appliesTo": "/",
"command": "pwd",
"type": "default"
}
]
}

When I click on "PWD" in my computer, I get the following wanted output:

/cygdrive/j/vsCleanTry

But when I try to do the same thing from a different computer (that uses same operating system) the output is:


/cygdrive/c/Users/johnOf/source


This is problematic because I want to configure another tasks which are dependent on that folder path as the working directory.



Do you know why I get different results on the other computer and how can I fix it to be like in my computer?

Continue reading...
 
Back
Top