Permalink
Browse files

Try to be a little more careful about array boundaries, in hopes of c…

…uring the Windows qx issue.
  • Loading branch information...
1 parent 39faf4e commit d19c4781ea9ed228dbaae5880c364c75b3b3e141 @colomon colomon committed Feb 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Builtins.cs
View
@@ -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();

0 comments on commit d19c478

Please sign in to comment.