Title: Jobs do not work in hosted PowerShell Core · Issue #7052 · PowerShell/PowerShell · GitHub
Open Graph Title: Jobs do not work in hosted PowerShell Core · Issue #7052 · PowerShell/PowerShell
X Title: Jobs do not work in hosted PowerShell Core · Issue #7052 · PowerShell/PowerShell
Description: It appears that trying to run jobs inside hosted PowerShell Core from a .NET Core 2.0 app fails. This was first noticed in Jaykul/Jupyter-PowerShell#20 But I was able to coble together a simple repro https://github.com/markekraus/Testhos...
Open Graph Description: It appears that trying to run jobs inside hosted PowerShell Core from a .NET Core 2.0 app fails. This was first noticed in Jaykul/Jupyter-PowerShell#20 But I was able to coble together a simple rep...
X Description: It appears that trying to run jobs inside hosted PowerShell Core from a .NET Core 2.0 app fails. This was first noticed in Jaykul/Jupyter-PowerShell#20 But I was able to coble together a simple rep...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/7052
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Jobs do not work in hosted PowerShell Core","articleBody":"\u003c!--\r\n\r\nFor Windows PowerShell 5.1 issues, suggestions, or feature requests please use the following link instead:\r\n- Windows PowerShell [UserVoice](https://windowsserver.uservoice.com/forums/301869-powershell)\r\n\r\nIf it is a bug report:\r\n- make sure you are able to repro it on the latest released version. \r\nYou can install the latest version from https://github.com/PowerShell/PowerShell/releases\r\n- Search the existing issues.\r\n- Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- Refer to the [known issues](https://docs.microsoft.com/powershell/scripting/whats-new/known-issues-ps6?view=powershell-6).\r\n- Fill out the following repro template:\r\n\r\nIf it's not a bug, please remove the template and elaborate the issue in your own words.\r\n-->\r\nIt appears that trying to run jobs inside hosted PowerShell Core from a .NET Core 2.0 app fails.\r\nThis was first noticed in Jaykul/Jupyter-PowerShell#20 But I was able to coble together a simple repro https://github.com/markekraus/TesthostedPSJobs\r\n\r\n@Jaykul suggested I try and copy the pwsh binary to the hosted app location, but that doesn't seem to work either.\r\n\r\nSteps to reproduce\r\n------------------\r\n\r\n```powershell\r\ngit clone https://github.com/markekraus/TesthostedPSJobs.git\r\npush-location TesthostedPSJobs\r\ndotnet run\r\n```\r\n\r\nExpected behavior\r\n-----------------\r\nNo output\r\n\r\n\r\nActual behavior\r\n---------------\r\n\r\n```none\r\nError: [localhost] An error occurred while starting the background process. Error reported: The system cannot find the file specified.\r\nException: System.Management.Automation.Remoting.PSRemotingTransportException: An error occurred while starting the background process. Error reported: The system cannot find the file specified. ---> System.ComponentModel.Win32Exception: The system cannot find the file specified\r\n at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)\r\n at System.Diagnostics.Process.Start()\r\n at System.Management.Automation.Runspaces.PowerShellProcessInstance.Start()\r\n at System.Management.Automation.Remoting.Client.OutOfProcessClientSessionTransportManager.CreateAsync()\r\n --- End of inner exception stack trace ---\r\nInnerException: System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified\r\n at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)\r\n at System.Diagnostics.Process.Start()\r\n at System.Management.Automation.Runspaces.PowerShellProcessInstance.Start()\r\n at System.Management.Automation.Remoting.Client.OutOfProcessClientSessionTransportManager.CreateAsync()\r\nInnerException:\r\n--------------------------------------------------------\r\n```\r\n\r\nEnvironment data\r\n----------------\r\nWindows 10 x64 (I have not verified this on other OSes)\r\n6.0.2\r\n","author":{"url":"https://github.com/markekraus","@type":"Person","name":"markekraus"},"datePublished":"2018-06-12T21:55:01Z","url":"https://github.com/PowerShell/PowerShell/issues/7052"}
| 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:19e820c4-1dbb-c181-3f7b-3a58ca3360e0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 920C:BC634:115B00:183C99:6AFD6CE9 |
| html-safe-nonce | 6a2676e1f895f926efc2b74fe3c903e4eff2ede0f2f5ef081fe2c37370d53264 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjBDOkJDNjM0OjExNUIwMDoxODNDOTk6NkFGRDZDRTkiLCJ2aXNpdG9yX2lkIjoiODE2OTAwODAwMzI4MjcyNjEyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cde2d7e8d8d0748de7975719f03338f792fee5840d9c6041856fb8f861f91379 |
| hovercard-subject-tag | issue:331768099 |
| 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/7052/issue_layout |
| twitter:image | https://opengraph.githubassets.com/51616818663aa994d19120def51cee955cf38ae78d7f6bbab64438476838cca9/PowerShell/PowerShell/issues/7052 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/51616818663aa994d19120def51cee955cf38ae78d7f6bbab64438476838cca9/PowerShell/PowerShell/issues/7052 |
| og:image:alt | It appears that trying to run jobs inside hosted PowerShell Core from a .NET Core 2.0 app fails. This was first noticed in Jaykul/Jupyter-PowerShell#20 But I was able to coble together a simple rep... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | markekraus |
| 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