[Bug 49457] New: Simple command in powershell 6 (pwsh) containing "$" only works for me if the dollar sign is escaped
WineHQ Bugzilla
wine-bugs at winehq.org
Fri Jun 26 03:45:35 CDT 2020
https://bugs.winehq.org/show_bug.cgi?id=49457
Bug ID: 49457
Summary: Simple command in powershell 6 (pwsh) containing "$"
only works for me if the dollar sign is escaped
Product: Wine
Version: 5.11
Hardware: x86
URL: https://github.com/PowerShell/PowerShell/releases/down
load/v6.1.6/PowerShell-6.1.6-win-x64.msi
OS: Linux
Status: NEW
Keywords: download
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs at winehq.org
Reporter: xerox.xerox2000x at gmail.com
Distribution: ---
I tried simple command like
wine pwsh.exe /c $env:username
and it gives ":username"
If one escapes the dollarsign it works correctly:
wine pwsh.exe /c \$env:username
gives "louis"
When you first start powershell console like "wine start pwsh", and type in the
console it works correctly (without the escape character)
I tried 1st command in Windows 7 cmd, and it works correctly (so without having
to add the escape character)
(The same story above holds for powershell 2.0 in wine too, but that is more
troublesome to get installed due to few bugs in bugilla, so i files it here for
pwsh.exe)
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list