• Stefy Lanza (nextime / spora )'s avatar
    Fix PyInstaller frozen binary system command execution · 3f64db2b
    Stefy Lanza (nextime / spora ) authored
    - Modified mount_target and partition_disk methods to use shell=True subprocess calls
    - This bypasses PyInstaller library conflicts by running commands in separate shell processes
    - Mount command now uses shell execution: 'mount /dev/sda1 /target'
    - Partition commands (parted, mkfs.ext4) also use shell execution to avoid library issues
    - Added proper error handling with stderr capture for shell commands
    - Added time import for sleep functionality in partition_disk
    - Ensures frozen binary can execute system commands without library version conflicts
    
    This resolves the persistent mount error in PyInstaller frozen binary by
    executing system commands through shell subprocess instead of direct calls.
    3f64db2b
Name
Last commit
Last update
autoinstaller_gui Loading commit data...
config Loading commit data...
BUILD_INSTRUCTIONS.md Loading commit data...
CHANGELOG.md Loading commit data...
ICON_INFO.md Loading commit data...
ISO_MODIFICATION_WORKFLOW.md Loading commit data...
MbetterClient Loading commit data...
MbetterClient_wrapper.sh Loading commit data...
README.md Loading commit data...
SWITCH_TO_SLIM.md Loading commit data...
SYS_UNMOUNT_ISSUE.md Loading commit data...
USB_CREATOR_README.md Loading commit data...
apply_inittab_fix.sh Loading commit data...
build.sh Loading commit data...
build_usb_creator.py Loading commit data...
cleanup.sh Loading commit data...
create_usb.bat Loading commit data...
create_usb.sh Loading commit data...
customize_iso.sh Loading commit data...
extract_iso.sh Loading commit data...
fix_inittab_in_image.sh Loading commit data...
insert_openvpn.sh Loading commit data...
mbet.jpg Loading commit data...
rebuild_iso.sh Loading commit data...
requirements.txt Loading commit data...
set_root_password.sh Loading commit data...
setup_usb_creator.py Loading commit data...
usb_creator_gui.py Loading commit data...