File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
SequenceAnalysis/api-src/org/labkey/api/sequenceanalysis/run Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ abstract public class AbstractCommandWrapper implements CommandWrapper
4444 private File _outputDir = null ;
4545 private File _workingDir = null ;
4646 private Logger _log = null ;
47+ private boolean _logPath = false ;
4748 private Level _logLevel = Level .DEBUG ;
4849 private boolean _warnNonZeroExits = true ;
4950 private boolean _throwNonZeroExits = true ;
@@ -229,11 +230,19 @@ private void setPath(ProcessBuilder pb)
229230 path = fileExe .getParent () + File .pathSeparatorChar + path ;
230231 }
231232
232- getLogger ().debug ("using path: " + path );
233+ if (_logPath )
234+ {
235+ getLogger ().debug ("using path: " + path );
236+ }
233237 pb .environment ().put ("PATH" , path );
234238 }
235239 }
236240
241+ public void setLogPath (boolean logPath )
242+ {
243+ _logPath = logPath ;
244+ }
245+
237246 public void setOutputDir (File outputDir )
238247 {
239248 _outputDir = outputDir ;
You can’t perform that action at this time.
0 commit comments