Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d38c467 commit 6f15ab2Copy full SHA for 6f15ab2
src/main/java/org/codehaus/plexus/util/cli/Commandline.java
@@ -488,6 +488,15 @@ public String[] getCommandline()
488
return getShellCommandline();
489
}
490
491
+ return getRawCommandline();
492
+ }
493
+
494
+ /**
495
+ * Returns the executable and all defined arguments.<br>
496
+ *
497
+ */
498
+ public String[] getRawCommandline()
499
+ {
500
final String[] args = getArguments();
501
String executable = getLiteralExecutable();
502
@@ -501,7 +510,7 @@ public String[] getCommandline()
510
return result;
511
503
512
504
- /**
513
505
514
* Returns the shell, executable and all defined arguments. Shell usage is only desirable when generating code for
506
515
* remote execution.
507
516
*/
0 commit comments