make sure to clean up ps process/shell
This commit is contained in:
parent
e3385ab137
commit
03b39eae7a
|
@ -36,6 +36,8 @@ public interface TorServiceConstants {
|
|||
public final static String SHELL_CMD_KILL = "kill -9";
|
||||
public final static String SHELL_CMD_RM = "rm";
|
||||
public final static String SHELL_CMD_PS = "toolbox ps";
|
||||
public final static String SHELL_CMD_PS_ALT = "ps";
|
||||
|
||||
//public final static String SHELL_CMD_PIDOF = "pidof";
|
||||
public final static String SHELL_CMD_LINK = "ln -s";
|
||||
public final static String SHELL_CMD_CP = "cp";
|
||||
|
|
|
@ -107,6 +107,8 @@ public class TorServiceUtils implements TorServiceConstants {
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
procPs.destroy();
|
||||
|
||||
return procId;
|
||||
|
||||
|
|
Loading…
Reference in New Issue