Title: Transcription for the host stops, when ANY runspace in the host get closed · Issue #2334 · PowerShell/PowerShell · GitHub
Open Graph Title: Transcription for the host stops, when ANY runspace in the host get closed · Issue #2334 · PowerShell/PowerShell
X Title: Transcription for the host stops, when ANY runspace in the host get closed · Issue #2334 · PowerShell/PowerShell
Description: Steps to reproduce Start-Transcript -Path foo.txt -Force $rs = [system.management.automation.runspaces.runspacefactory]::CreateRunspace() $rs.open() $ps = [System.Management.Automation.PowerShell]::Create() $ps.Runspace = $rs $ps.Dispose...
Open Graph Description: Steps to reproduce Start-Transcript -Path foo.txt -Force $rs = [system.management.automation.runspaces.runspacefactory]::CreateRunspace() $rs.open() $ps = [System.Management.Automation.PowerShell]:...
X Description: Steps to reproduce Start-Transcript -Path foo.txt -Force $rs = [system.management.automation.runspaces.runspacefactory]::CreateRunspace() $rs.open() $ps = [System.Management.Automation.PowerShell]:...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/2334
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Transcription for the host stops, when ANY runspace in the host get closed","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\nStart-Transcript -Path foo.txt -Force\n$rs = [system.management.automation.runspaces.runspacefactory]::CreateRunspace()\n$rs.open()\n$ps = [System.Management.Automation.PowerShell]::Create()\n$ps.Runspace = $rs\n$ps.Dispose()\n\"Before Dispose\"\n$rs.Dispose()\n\"After Dispose\"\nStop-Transcript\n```\n## Expected behavior\n\nNo errors, the whole transcript (including \"After Dispose\") should be in the `foo.txt` file\n## Actual behavior\n\n```\nStop-Transcript : An error occurred stopping transcription: The host is not currently transcribing.\nAt line:1 char:1\n+ Stop-Transcript\n+ ~~~~~~~~~~~~~~~\n + CategoryInfo : InvalidOperation: (:) [Stop-Transcript], PSInvalidOperationException\n + FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.StopTranscriptCommand\n```\n\n\"After Dispose\" is not in the `foo.txt` file\n## Environment data\n\n\u003c!-- provide the output of $PSVersionTable -->\n\nWindows.\n\n``` powershell\n> $PSVersionTable\nName Value\n---- -----\nPSEdition Core\nPSVersion 6.0.0-alpha\nCLRVersion\nGitCommitId v6.0.0-alpha.10\nWSManStackVersion 3.0\nBuildVersion 3.0.0.0\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\nPSRemotingProtocolVersion 2.3\nSerializationVersion 1.1.0.1\n```\n\n Also verfied in inbox\n\n```\nName Value\n---- -----\nPSVersion 5.1.14393.187\nPSEdition Desktop\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\nBuildVersion 10.0.14393.187\nCLRVersion 4.0.30319.42000\nWSManStackVersion 3.0\nPSRemotingProtocolVersion 2.3\nSerializationVersion 1.1.0.1\n```\n\ncc @adityapatwardhan @LeeHolmes @PaulHigin \n","author":{"url":"https://github.com/vors","@type":"Person","name":"vors"},"datePublished":"2016-09-21T21:12:18Z","url":"https://github.com/PowerShell/PowerShell/issues/2334"}
| 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:159b70e7-3480-48d4-b092-acc5c21bdc8e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C126:8F0FA:2D05D6:3EB32A:6AFD74AB |
| html-safe-nonce | fa795d0a2613ced706fa197bffffe6d5ecc544aaca889fb5e7483007709f1c83 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTI2OjhGMEZBOjJEMDVENjozRUIzMkE6NkFGRDc0QUIiLCJ2aXNpdG9yX2lkIjoiNDAwOTM2NTk0ODQzNDU3NjU1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 71c73a20ed8c4c62cd2cd3df666921f6c6d3e81416d9398529f9e611ab917d29 |
| hovercard-subject-tag | issue:178463598 |
| 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/2334/issue_layout |
| twitter:image | https://opengraph.githubassets.com/931cbfebc6a3bef4b57994eb563c62ab7dfe31a241ea86a57539650cfa1e89e6/PowerShell/PowerShell/issues/2334 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/931cbfebc6a3bef4b57994eb563c62ab7dfe31a241ea86a57539650cfa1e89e6/PowerShell/PowerShell/issues/2334 |
| og:image:alt | Steps to reproduce Start-Transcript -Path foo.txt -Force $rs = [system.management.automation.runspaces.runspacefactory]::CreateRunspace() $rs.open() $ps = [System.Management.Automation.PowerShell]:... |
| 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 | e54006cf2b96d1ac260960edd10003132911469ccd1ec99c9803119fe2a4e032 |
| 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 | 5be0bf2b8cf26f8897d31e6bc3c232d328b12a54 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width