Merge pull request 242 from dev/console-args into develop
made powershell work with additional argument logic
This commit is contained in:
commit
337cfe552b
1 changed files with 5 additions and 0 deletions
|
@ -121,6 +121,11 @@ namespace Microsoft.Samples.PowerShell.Host
|
||||||
++i;
|
++i;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( String.IsNullOrEmpty(initialScript) && args.Length > 0 )
|
||||||
|
{
|
||||||
|
initialScript = string.Join(" ", args);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create the listener and run it
|
// Create the listener and run it
|
||||||
|
|
Loading…
Reference in a new issue