Title: Unix system executables terminate with error if transcription enabled · Issue #1920 · PowerShell/PowerShell · GitHub
Open Graph Title: Unix system executables terminate with error if transcription enabled · Issue #1920 · PowerShell/PowerShell
X Title: Unix system executables terminate with error if transcription enabled · Issue #1920 · PowerShell/PowerShell
Description: Steps to reproduce Enable transcription (Start-Transcript) Run any executable system command. Expected behavior Command executes and terminates cleanly. Actual behavior Command executes fine, but upon termination an error is always print...
Open Graph Description: Steps to reproduce Enable transcription (Start-Transcript) Run any executable system command. Expected behavior Command executes and terminates cleanly. Actual behavior Command executes fine, but u...
X Description: Steps to reproduce Enable transcription (Start-Transcript) Run any executable system command. Expected behavior Command executes and terminates cleanly. Actual behavior Command executes fine, but u...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/1920
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unix system executables terminate with error if transcription enabled","articleBody":"## Steps to reproduce\n\nEnable transcription (`Start-Transcript`)\nRun any executable system command.\n## Expected behavior\n\nCommand executes and terminates cleanly.\n## Actual behavior\n\nCommand executes fine, but upon termination an error is always printed: `Program 'foo' failed to run: The method or operation is not implemented.At line:1 char:1`\n\nExamples:\n\n```\nPS /\u003e uname \nDarwin\nProgram 'uname' failed to run: The method or operation is not implemented.At line:1 char:1\n+ uname\n+ ~~~~~.\nAt line:1 char:1\n+ uname\n+ ~~~~~\n + CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException\n + FullyQualifiedErrorId : NativeCommandFailed\n\nPS /\u003e curl google.com \n\u003cHTML\u003e\u003cHEAD\u003e\u003cmeta http-equiv=\"content-type\" content=\"text/html;charset=utf-8\"\u003e\n\u003cTITLE\u003e301 Moved\u003c/TITLE\u003e\u003c/HEAD\u003e\u003cBODY\u003e\n\u003cH1\u003e301 Moved\u003c/H1\u003e\nThe document has moved\n\u003cA HREF=\"http://www.google.com/\"\u003ehere\u003c/A\u003e.\n\u003c/BODY\u003e\u003c/HTML\u003e\nProgram 'curl' failed to run: The method or operation is not implemented.At line:1 char:1\n+ curl google.com\n+ ~~~~~~~~~~~~~~~.\nAt line:1 char:1\n+ curl google.com\n+ ~~~~~~~~~~~~~~~\n + CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException\n + FullyQualifiedErrorId : NativeCommandFailed\n```\n\nDoes not happen if I capture the program's output into a variable:\n\n```\nPS /\u003e $x = uname \nPS /\u003e $x \nDarwin\n```\n\nStack:\n\n```\nPS /\u003e $error[0].Exception.ToString() \nSystem.Management.Automation.ApplicationFailedException: Program 'curl' failed to run: The method or operation is not implemented.At line:1 char:1\n+ curl google.com\n+ ~~~~~~~~~~~~~~~. ---\u003e System.NotImplementedException: The method or operation is not implemented.\n at Microsoft.PowerShell.ConsoleHostRawUserInterface.GetBufferContents(Rectangle rectangle)\n at System.Management.Automation.Internal.Host.InternalHostRawUserInterface.GetBufferContents(Rectangle r)\n at System.Management.Automation.NativeCommandProcessor.Complete()\n --- End of inner exception stack trace ---\n at System.Management.Automation.NativeCommandProcessor.Complete()\n at System.Management.Automation.CommandProcessorBase.DoComplete()\n at System.Management.Automation.Internal.PipelineProcessor.DoCompleteCore(CommandProcessorBase commandRequestingUpstreamCommandsToStop)\n at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)\n--- End of stack trace from previous location where exception was thrown ---\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)\n at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)\n at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame)\n at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)\n```\n## Environment data\n\nOSX Yosemite 14.5.0\n\n``` powershell\n\u003e $PSVersionTable\nPSVersion 6.0.0-alpha \nPSEdition Core \nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} \nBuildVersion 3.0.0.0 \nGitCommitId v6.0.0-alpha.9 \nCLRVersion \nWSManStackVersion 3.0 \nPSRemotingProtocolVersion 2.3 \nSerializationVersion 1.1.0.1 \n```\n","author":{"url":"https://github.com/latkin","@type":"Person","name":"latkin"},"datePublished":"2016-08-19T00:14:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/1920/PowerShell/issues/1920"}
| 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:b9fbfd75-29a4-b22e-8b26-65cfaf55d6af |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DBF2:240320:2EE432:40AB5C:6A5846DF |
| html-safe-nonce | 6be074ccc4984cbf6e94890f50149fdcb354d1f5a17025f76ecf001a37d80173 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQkYyOjI0MDMyMDoyRUU0MzI6NDBBQjVDOjZBNTg0NkRGIiwidmlzaXRvcl9pZCI6IjM5MTkyNjY4NDYwNDI3NjkxMTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 54ead0c91e12af467cd2f4cfc7ef72205465fcc9f0ca85262056c49af5578a5a |
| hovercard-subject-tag | issue:172029219 |
| 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/1920/issue_layout |
| twitter:image | https://opengraph.githubassets.com/02c78c08db4f60b19fb8005131e81f8bf2e97536886b6f19d74964b545a6f1d9/PowerShell/PowerShell/issues/1920 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/02c78c08db4f60b19fb8005131e81f8bf2e97536886b6f19d74964b545a6f1d9/PowerShell/PowerShell/issues/1920 |
| og:image:alt | Steps to reproduce Enable transcription (Start-Transcript) Run any executable system command. Expected behavior Command executes and terminates cleanly. Actual behavior Command executes fine, but u... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | latkin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| 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 | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width