formulahendry / formulahendry/vscode-code-runner

[Bug] relative path in powershell script not found

Open
#649 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

I have a Powershell script referencing a file using relative path.

**To Reproduce**
Steps to reproduce the behavior:
If I run the script from the Powershell console it works fine.

If I run it from vscode-code-runner, the file is not found. I think code-runner somehow executes the script from a location other than where it sits.

Is this possible to fix ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.