Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public NCUSocketFactory() throws AgentProxyException {
Process p = null;
StringBuilder sb = new StringBuilder();
try {
p = Runtime.getRuntime().exec("nc -h");
p = Runtime.getRuntime().exec("/bin/nc -h");
InputStream is = p.getErrorStream();
byte[] buf = new byte[1024];
int i = 0;
Expand Down Expand Up @@ -112,7 +112,7 @@ public void close() throws IOException {
public Socket open(String path) throws IOException {
Process p = null;
try {
p = Runtime.getRuntime().exec("nc -U "+path);
p = Runtime.getRuntime().exec("/bin/nc -U "+path);
}
catch (SecurityException e){
throw new IOException(e.toString());
Expand Down