Open Marin-Kitagawa opened 6 months ago
Hey @Marin-Kitagawa can you try the following:
freeze --execute "cmd /c ls"
freeze --execute "cmd /c dir"
This works. But I understand that Linux has binaries for each command be it ls
or anything. But in Windows, is it possible to emulate the same function similar to Linux but not checking for availability of a binary in the PATH? I mean, could you please make it to execute directly in the default shell (without using any alias)?
Describe the bug The commands such as
ls
,dir
, and many other Powershell commands such asGet-Clipboard
search for an exectuable in$env:PATH
or%PATH%
. The following is the error thrown(Replace
ls
with any other Powershell command that produces an output)Since it explicitly mentions
%PATH%
(instead of$env:PATH
), I even tried the same command incmd
(I was using PowerShell 7 previously). I still got the same error.To Reproduce Steps to reproduce the behavior:
freeze --execute "ls"
,freeze --execute "dir"
orfreeze --execute "<any powershell command>"
Expected behavior All the Windows-native or Powershell commands must work
Screenshots
Desktop (please complete the following information):