summaryrefslogtreecommitdiffstats
path: root/src/toolsconfig/flawfinder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/toolsconfig/flawfinder.java')
-rw-r--r--src/toolsconfig/flawfinder.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/toolsconfig/flawfinder.java b/src/toolsconfig/flawfinder.java
index 0528eb6..bb953ea 100644
--- a/src/toolsconfig/flawfinder.java
+++ b/src/toolsconfig/flawfinder.java
@@ -12,13 +12,7 @@ public class flawfinder extends ToolsConfig {
12 } 12 }
13 13
14 @Override 14 @Override
15 public void execute(String src) { 15 protected void execute(String src) {
16 // flawfinder
17// if (changedpathflaw) {
18// MyContorlUtil.loadToolsRoad(settingsXML, this);
19// changedpathflaw = false;
20// }
21
22 if (path == null) { 16 if (path == null) {
23 return; 17 return;
24 } 18 }
@@ -27,7 +21,6 @@ public class flawfinder extends ToolsConfig {
27 Runtime runtime2 = Runtime.getRuntime(); 21 Runtime runtime2 = Runtime.getRuntime();
28 Process p2 = null; 22 Process p2 = null;
29 try { 23 try {
30
31 // 两个参数数组,一个是csv格式,一个是传入的参数 24 // 两个参数数组,一个是csv格式,一个是传入的参数
32 String[] arguments = 25 String[] arguments =
33 new String[] {"python", path, "--csv", src}; 26 new String[] {"python", path, "--csv", src};