Merge pull request 242 from dev/console-args into develop

made powershell work with additional argument logic
This commit is contained in:
Andy Schwartzmeyer 2015-11-02 23:22:55 +00:00
commit 337cfe552b

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