Public bug reported:

Trying to open a URL results in powerpoint errors, e.g.,

# wslview --debug https://www.nzz.ch
[debug] Showing debug output.
The string is missing the terminator: ".
    + CategoryInfo          : ParserError: (:) [], 
ParentContainsErrorRecordException
    + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString


The issue seems to be that in function `winps_exec` on line 156 the '-' in 
`–ExecutionPolicy Bypass` is not a standard '-' and gets escaped into some 
funky way (unicode?).  If i replace that with a 'normal' - it works properly 
....

this happens on ubuntu 24.04 with package 3.2.3-0ubuntu3 and wsl2
2.4.4.0

** Affects: wslu (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- wslview results in powershell errors
+ wslview results in powershell errors due to non-ascii char in script

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2089703

Title:
  wslview results in powershell errors due to non-ascii char in script

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wslu/+bug/2089703/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to