Browse Source

This allows uml consoles to run as children processes, which is nice.

master
freesource 24 years ago
parent
commit
f0c6a667fa
  1. 12
      gBootRoot

12
gBootRoot

@ -1070,9 +1070,17 @@ sub uml_box {
# UML kernel = $entry_advanced[5]
# xterm -e linux ubd#=root_fs
# root=/dev/ubd#
my $pid;
unless ($pid = fork) {
unless (fork) {
sys("$entry_advanced[8] $entry_advanced[5] $entry_advanced[9] $entry_advanced[10]");
} );
}
}
waitpid($pid,0);
# sys ("perl -e 'system \"$entry_advanced[8] $entry_advanced[5] $entry_advanced[9] $entry_advanced[10]\";'");
} );
#_______________________________________
# Cancel button also kills UML kernel if still open
@ -1082,7 +1090,7 @@ sub uml_box {
# This has to be improved .. don't
# want other processes killed
# remove_matching_process("linux");
$uml_window->destroy();
$uml_window->destroy() if $uml_window;
} );
$uml_window->show();

Loading…
Cancel
Save