Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Try to be a little more careful about array boundaries, in hopes of c…
…uring the Windows qx issue.
  • Loading branch information
colomon committed Feb 28, 2012
1 parent 39faf4e commit d19c478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Builtins.cs
Expand Up @@ -1755,7 +1755,7 @@ public partial class Builtins {
process.StartInfo.UseShellExecute = false;
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.FileName = args[0];
if (args[1] != "") {
if (args.Length > 1 && args[1] != "") {
process.StartInfo.Arguments = args[1];
}
process.Start();
Expand Down

0 comments on commit d19c478

Please sign in to comment.