-
Notifications
You must be signed in to change notification settings - Fork 302
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
code-runner.cwd support variables #20
Comments
Currently, the cwd will be set as root folder opened in VS code if code-runner.cwd is not set. How about add a config entry to determine to use root folder or folder of current running file? |
Sample? Actually I need run script via 2 steps:
Currently it has wrong cwd and run script with full path to file. |
any difference bertween filename without directory and full path of file? |
Please install the visx in attached zip file (use VS Code to open the visx to install), and set |
Just ship the v0.2.4, you could have a try. For the filename issue, I did not see the difference between filename without directory and full path of file, so I will not change the behavior. |
yes. Script can work via web in chroot directory => in command line we can try to emulate same behavior:
But this is little another task. Plus I made required fixes in my script for correct work even with old settings. |
Can you add support variables like ${fileDirname} for "Set the working directory" setting?
I need exec scripts from local directory.
thank you.
The text was updated successfully, but these errors were encountered: