Browse Source

changed command

DS 2 years ago
parent
commit
83873e240a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/executeNodeSetParser.mjs

+ 1 - 1
js/executeNodeSetParser.mjs

@@ -8,7 +8,7 @@ https://stackoverflow.com/questions/1880198/how-to-execute-shell-command-in-java
 export function parseAll(){
 	var exec = require('child_process').exec;
 	var listxml = '';
-exec('cd nodesets && ls',
+exec('cd .. && cd nodesets && ls',
     function (error, stdout, stderr) {
         //console.log('stdout: ' + stdout);
         //console.log('stderr: ' + stderr);