microsoft / microsoft/PowerToys
[Peek] Opening a file via the CLI errors if the path is relative
Open
Issue-Bug
Needs-Triage
Product-Peek
- Dominant language
- C
- Stars
- 139k
- Forks
- 8.6k
- PR merge metrics
- PR metrics pending
Description
### Microsoft PowerToys version
0.100.2
### Installation method
Dev build in Visual Studio
### Area(s) with issue?
Peek
### Steps to reproduce
1. Open PowerShell.
2. Navigate to the folder containing the image you want to open.
3. Enter:
```pwsh
\PowerToys.Peek.UI.exe testfile.jpg
```
### ✔️ Expected Behavior
The media is shown.
### ❌ Actual Behavior
An error is shown:
### Upload Bug Report ZIP-file
_No response_
### Additional Information
_No response_
### Other Software
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.