mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-09 22:09:47 -04:00
* fix shell call
This commit is contained in:
parent
cfb6512063
commit
cc73f42b6b
@ -41,8 +41,9 @@ List.metaClass.mapByExtension = { mapByExtension(delegate) }
|
||||
// Shell helper
|
||||
import static com.sun.jna.Platform.*;
|
||||
|
||||
def run(String... cmd) {
|
||||
cmd = cmd.toList()
|
||||
def execute(String... args) {
|
||||
def cmd = args.toList()
|
||||
|
||||
if (isWindows()) {
|
||||
cmd = ["cmd", "/c"] + cmd;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user