Commit ae5f926
committed
RunArgument: fix bug when argument list is given
When an argument list is provided, we need to remove it from the list
of pending command line arguments to process.
Otherwise, it will get "double" processed, which can result in
various weirdness. For instance, in ImageJ2 with the legacy layer
active, the class net.imagej.legacy.LegacyCommandline$Filename.handle
would try to handle the empty string as a filename and then barf.1 parent fe807de commit ae5f926
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| |||
0 commit comments