Lines Matching refs:to

16  * 2 along with this work; if not, write to the Free Software Foundation,
86 System.out.println("Exception trying to run process: " + commandline);
99 System.out.println("Exception trying to run process: " + commandline);
125 // compare windows-style, by canonicalizing to upper case,
563 // If round trip conversion works, should be able to set env vars
654 * Mac OS X adds the variable __CF_USER_TEXT_ENCODING to an empty
802 Redirect.to(ifile),
805 Redirect.to(ofile),
825 "redirect to read from file \"ifile\"");
832 equal(Redirect.to(ofile).type(), Redirect.Type.WRITE);
833 equal(Redirect.to(ofile).toString(),
834 "redirect to write to file \"ofile\"");
835 equal(Redirect.to(ofile).file(), ofile);
836 equal(Redirect.to(ofile),
837 Redirect.to(ofile));
838 equal(Redirect.to(ofile).hashCode(),
839 Redirect.to(ofile).hashCode());
843 "redirect to append to file \"efile\"");
873 equal(pb.redirectOutput(), Redirect.to(ofile));
877 equal(pb.redirectError(), Redirect.to(efile));
881 pb.redirectInput(Redirect.to(ofile)); }},
895 // Writing to non-existent files
925 // Appending to existing files
952 pb.redirectError(Redirect.to(efile));
964 // Appending twice to the same file?
1008 // Read access to current directory is always granted;
1033 redirectIO(pb, PIPE, to(ofile), PIPE);
1037 redirectIO(pb, PIPE, PIPE, to(efile));
1050 redirectIO(pb, PIPE, to(ofile), to(efile));
1062 redirectIO(pb, from(tmpFile), to(ofile), to(efile));
1081 System.out.println("This appears to be a Windows system.");
1083 System.out.println("This appears to be a Unix system.");
1085 System.out.println("This appears to be a Unicode-based OS.");
1122 // Pass Empty environment to child
1334 // If round-trip conversion works, check envvar pass-through to child
1343 // A surprisingly large number of ways to delete an environment var.
1405 // A surprisingly small number of ways to add an environment var.
1412 // A few ways to modify an environment var.
1787 // Attempt to start bogus program ""
1800 // Check that attempt to execute program name with funny
1817 // Attempt to start process in nonexistent directory fails.
1833 // Attempt to write 4095 bytes to the pipe buffer without a
1834 // reader to drain it would deadlock, if not for the fact that
1976 // own do not cause parent to hang waiting for file
1977 // descriptors to be closed.
2013 // Here's a highly non-portable experiment to demonstrate:
2019 // Send INTERRUPT_SIGNAL to every thread in this java.
2035 // Attempt to start process with insufficient permissions fails.
2061 // No permissions required to CREATE a ProcessBuilder
2153 // A Policy class designed to make permissions fiddling very easy.
2293 else fail(x + " not equal to " + y);}