Bring back InitialSessionState()
This commit is contained in:
parent
3719046eb9
commit
548cbc91b1
1 changed files with 2 additions and 3 deletions
|
@ -152,9 +152,8 @@ namespace Microsoft.PowerShell.Linux.Host
|
||||||
// Note that this application does not support console files so
|
// Note that this application does not support console files so
|
||||||
// only the default snap-ins will be available.
|
// only the default snap-ins will be available.
|
||||||
this.myHost = new MyHost(this);
|
this.myHost = new MyHost(this);
|
||||||
// InitialSessionState iss = InitialSessionState.CreateDefault2();
|
InitialSessionState iss = InitialSessionState.CreateDefault2();
|
||||||
// TODO: CreateRunspace(this.myHost, iss)
|
this.myRunSpace = RunspaceFactory.CreateRunspace(this.myHost, iss);
|
||||||
this.myRunSpace = RunspaceFactory.CreateRunspace(this.myHost);
|
|
||||||
this.myRunSpace.Open();
|
this.myRunSpace.Open();
|
||||||
|
|
||||||
// Create a PowerShell object to run the commands used to create
|
// Create a PowerShell object to run the commands used to create
|
||||||
|
|
Loading…
Reference in a new issue