mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 20:56:02 +00:00
Temporarily remove InitialSessionState
This commit is contained in:
1 parent
b60ea88ddb
commit
a574d0200b
1 file changed
+3
-6
@@ -186,13 +186,10 @@ namespace Microsoft.PowerShell.Linux.Host
|
||||
// Note that this application does not support console files so
|
||||
// only the default snap-ins will be available.
|
||||
this.myHost = new MyHost(this);
|
||||
Console.WriteLine("myHost");
|
||||
InitialSessionState iss = InitialSessionState.CreateDefault2();
|
||||
Console.WriteLine("iss");
|
||||
this.myRunSpace = RunspaceFactory.CreateRunspace(this.myHost, iss);
|
||||
Console.WriteLine("runspace created");
|
||||
// InitialSessionState iss = InitialSessionState.CreateDefault2();
|
||||
// TODO: CreateRunspace(this.myHost, iss)
|
||||
this.myRunSpace = RunspaceFactory.CreateRunspace(this.myHost);
|
||||
this.myRunSpace.Open();
|
||||
Console.WriteLine("runspace opened");
|
||||
|
||||
// Create a PowerShell object to run the commands used to create
|
||||
// $profile and load the profiles.
|
||||
|
||||
Reference in new issue
Block a user