Title: powershell : Cannot process the XML from the 'Error' stream · Issue #1575 · PowerShell/PowerShell · GitHub
Open Graph Title: powershell : Cannot process the XML from the 'Error' stream · Issue #1575 · PowerShell/PowerShell
X Title: powershell : Cannot process the XML from the 'Error' stream · Issue #1575 · PowerShell/PowerShell
Description: Steps to reproduce powershell -c {[console]::Error.Write('abc')} 2>&1` Expected behavior powershell : abc At line:1 char:6 + $q = powershell -c "[console]::Error.Write('abc')" 2>&1 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + C...
Open Graph Description: Steps to reproduce powershell -c {[console]::Error.Write('abc')} 2>&1` Expected behavior powershell : abc At line:1 char:6 + $q = powershell -c "[console]::Error.Write('abc')" 2>&1 + ~~~~~~~~~~~~~~...
X Description: Steps to reproduce powershell -c {[console]::Error.Write('abc')} 2>&1` Expected behavior powershell : abc At line:1 char:6 + $q = powershell -c "[console]::Error.Write('abc&...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/1575
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"powershell : Cannot process the XML from the 'Error' stream","articleBody":"\u003c!--\n\nIf it is a bug report:\n- make sure you are able to repro it on the latest released version. \nYou can install the latest version from https://github.com/PowerShell/PowerShell/releases\n- Search the existing issues.\n- Refer to the [FAQ](../docs/FAQ.md).\n- Refer to the [known issues](../docs/KNOWNISSUES.md).\n- Fill out the following repro template\n\nIf it's not a bug, please remove the template and elaborate the issue in your own words.\n-->\n## Steps to reproduce\n\n``` powershell\npowershell -c {[console]::Error.Write('abc')} 2>&1`\n```\n## Expected behavior\n\n```\npowershell : abc\nAt line:1 char:6\n+ $q = powershell -c \"[console]::Error.Write('abc')\" 2>&1\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n + CategoryInfo : NotSpecified: (abc:String) [], RemoteException\n + FullyQualifiedErrorId : NativeCommandError\n```\n## Actual behavior\n\n```\npowershell : Cannot process the XML from the 'Error' stream of\n'C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe': Data at the root level is invalid. Line 1, position 1.\nAt line:1 char:1\n+ powershell -c {[console]::Error.Write('abc')} 2>&1\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n + CategoryInfo : SyntaxError: (C:\\WINDOWS\\Syst...\\powershell.exe:String) [], XmlException\n + FullyQualifiedErrorId : ProcessStreamReader_CliXmlError\n```\n## Environment data\n\nThis repros on Full Framework build and on inbox PS v5.1 on Windows.\n\n\u003c!-- provide the output of $PSVersionTable -->\n\n``` powershell\n> $PSVersionTable\nName Value\n---- -----\nPSVersion 5.1.14393.0\nPSEdition Desktop\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\nBuildVersion 10.0.14393.0\nCLRVersion 4.0.30319.42000\nWSManStackVersion 3.0\nPSRemotingProtocolVersion 2.3\nSerializationVersion 1.1.0.1\n\n\nName Value\n---- -----\nPSVersion 6.0.0-alpha\nPSEdition WindowsPowerShell\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\nBuildVersion 3.0.0.0\nGitCommitId v6.0.0-alpha.7-117-gbbddfe81a5a72f45e4a650cf3f42a0ca1eda86aa\nCLRVersion 4.0.30319.42000\nWSManStackVersion 3.0\nPSRemotingProtocolVersion 2.3\nSerializationVersion 1.1.0.1\n```\n","author":{"url":"https://github.com/vors","@type":"Person","name":"vors"},"datePublished":"2016-07-29T19:48:58Z","url":"https://github.com/PowerShell/PowerShell/issues/1575"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1f31aafe-100d-df61-ea84-55b0a43ebe89 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8400:D1B6C:2DA5DEB:3FD95F9:6AFD6DAC |
| html-safe-nonce | 9faee49c87fe9f429ab657beb0d87b05a5aa6df3d5275337fc796b7d5cafa1d0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDAwOkQxQjZDOjJEQTVERUI6M0ZEOTVGOTo2QUZENkRBQyIsInZpc2l0b3JfaWQiOiI1NDY1MzQyMzY0MDgxODEwODYwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cc190fcea17aa30962473ebbf048aaca09aee0fa065d2302353e2092d81c0a0c |
| hovercard-subject-tag | issue:168400483 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/1575/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7e377e4059af21cc06660f9260076583e60b93d73da90029eb9c306da9a79b47/PowerShell/PowerShell/issues/1575 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7e377e4059af21cc06660f9260076583e60b93d73da90029eb9c306da9a79b47/PowerShell/PowerShell/issues/1575 |
| og:image:alt | Steps to reproduce powershell -c {[console]::Error.Write('abc')} 2>&1` Expected behavior powershell : abc At line:1 char:6 + $q = powershell -c "[console]::Error.Write('abc')" 2>&1 + ~~~~~~~~~~~~~~... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vors |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9985ca2e21b59673104d4d830d4afeb946c67f248f273ab2e824c31c8db46e4a |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0db9e8d463c3f4540570e6ad3c501a06db9dc02a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width