made powershell work with additional argument logic

This commit is contained in:
Zachary Folwick 2015-11-02 15:04:40 -08:00
parent 05f59d15b1
commit fe3608da57

View file

@ -121,6 +121,11 @@ namespace Microsoft.Samples.PowerShell.Host
++i;
}
}
if ( String.IsNullOrEmpty(initialScript) && args.Length > 0 )
{
initialScript = string.Join(" ", args);
}
}
// Create the listener and run it