You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Invoke-Item /tmp fails on Debian with strange errors #6827
Throw a PowerShell error (i.e. no default handler is available or similar).
The issue is not folder specific, i.e. it fails on any folder. It is tested on PS 6.1.0-preview.2
The issue seems to be related to #4252 and #4262, but this is more to address proper error handling than to actually implement the functionality.
Actual behavior
It throws different errors from the underlying system.
On Debian Stretch, it throws full 9 line xdg-open error stack.
On Debian subsystem on Windows 10, it throws 'No such file or directory' whereas folder exists. If a folder is really not existing, it throws 'Cannot find path'
Hi Steve Lee (@SteveL-MSFT), I cannot reproduce the problem on Ubuntu 16.04 VM with PowerShell 6.1.2, neither with 6.2.0-preview.3. 😌
However, on Windows Subsystem Linux (WSL) problem persists on both distributions I have, Ubuntu 16.04 and Debian 9, with both latest official and preview versions of PowerShell. In all 4 cases, the error is the same as the above. Though, I am not even sure if that's supported scenario (pwsh running under Linux, but with Windows GUI).
There have been issues running with WSL that don't repro with the Linux kernel. I would probably suggest opening this in https://github.com/Microsoft/WSL
Reacted by Igor
microsoft-github-policy-service commented on Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commented on Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commented on Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
Activity
SteveL-MSFT commentedon Jan 31, 2019
Igor (@iricigor) does this repro with 6.2-preview.4? I tried this on macOS and it opened the /tmp folder just fine
iricigor commentedon Feb 4, 2019
Hi Steve Lee (@SteveL-MSFT), I cannot reproduce the problem on Ubuntu 16.04 VM with PowerShell 6.1.2, neither with 6.2.0-preview.3. 😌
However, on Windows Subsystem Linux (WSL) problem persists on both distributions I have, Ubuntu 16.04 and Debian 9, with both latest official and preview versions of PowerShell. In all 4 cases, the error is the same as the above. Though, I am not even sure if that's supported scenario (pwsh running under Linux, but with Windows GUI).
SteveL-MSFT commentedon Feb 5, 2019
There have been issues running with WSL that don't repro with the Linux kernel. I would probably suggest opening this in https://github.com/Microsoft/WSL
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 23, 2023
This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes.