backend: don't launch a second window with the REPL

This commit is contained in:
Tyler Wilding 2023-03-05 14:19:36 -05:00
parent ce36f533ea
commit 0ac6a153a6
No known key found for this signature in database
GPG key ID: 77CB07796494137E

View file

@ -488,6 +488,7 @@ pub async fn open_repl(
let data_folder = get_data_dir(&config_info, &game_name, false)?; let data_folder = get_data_dir(&config_info, &game_name, false)?;
let exec_info = get_exec_location(&config_info, "goalc")?; let exec_info = get_exec_location(&config_info, "goalc")?;
let output = Command::new("cmd") let output = Command::new("cmd")
.creation_flags(0x08000000)
.args([ .args([
"/K", "/K",
"start", "start",