mirror of https://github.com/bmaltais/kohya_ss
Make both windows and linux use shell=True by default
parent
79cbde3329
commit
2124e6ce4b
|
|
@ -42,12 +42,11 @@ def UI(**kwargs):
|
|||
if config.is_config_loaded():
|
||||
log.info(f"Loaded default GUI values from '{kwargs.get('config')}'...")
|
||||
|
||||
use_shell_flag = False
|
||||
if os.name == "posix":
|
||||
use_shell_flag = True
|
||||
use_shell_flag = True
|
||||
# if os.name == "posix":
|
||||
# use_shell_flag = True
|
||||
|
||||
if config.get("settings.use_shell", False):
|
||||
use_shell_flag = True
|
||||
use_shell_flag = config.get("settings.use_shell", use_shell_flag)
|
||||
|
||||
if kwargs.get("do_not_use_shell", False):
|
||||
use_shell_flag = False
|
||||
|
|
|
|||
Loading…
Reference in New Issue