Skip to content

[Bug] Command Line Emits Logs and Doesn't Automatically Background #2528

@utkonos

Description

@utkonos

Operating System

MacOS

What's the issue you encountered?

The command line of Imhex does not go to background and emits debug logs by default.

How can the issue be reproduced?

This is on a fresh macOS ARM 26.1 machine. New Imhex install.

If I add imhex to the path like this in .zshrc:

export PATH="$PATH:/Applications/ImHex.app/Contents/MacOS"

Then from a new terminal window, run imhex, it doesn't go into the background like other command line programs do. And it emits debug logging to the console.

% imhex
[18:12:40] [INFO]  [main | Main]                Welcome to ImHex 1.38.0.WIP!
[18:12:40] [INFO]  [main | Main]                Compiled using commit master@b1e2185
[18:12:40] [INFO]  [main | Main]                Running on macOS 25.1.0 Darwin Kernel Version 25.1.0: Mon Oct 20 19:34:05 PDT 2025; root:xnu-12377.41.6~2/RELEASE_ARM64_T6041 (arm64)
[18:12:40] [INFO]  [main | Main]                Native scaling set to: 1.0
[18:12:40] [INFO]  [main | Main]                Using 'Apple' GPU
[18:12:40] [INFO]  [main | Init Tasks]          Task 'Setting up environment' finished successfully in 0 ms
[18:12:40] [INFO]  [main | Init Tasks]          Task 'Creating directories' finished successfully in 3 ms
[18:12:40] [INFO]  [main | Init Tasks]          Task 'Loading settings' finished successfully in 0 ms
[18:12:40] [INFO]  [libimhex | Init Tasks]      Loading plugin 'fonts.hexpluglib'
[18:12:40] [INFO]  [libimhex | Init Tasks]      Loading plugin 'ui.hexpluglib'
[18:12:40] [INFO]  [libimhex | Init Tasks]      Loading plugin 'builtin.hexplug'
[18:12:41] [INFO]  [libimhex | Init Tasks]      Loading plugin 'disassembler.hexplug'
[18:12:41] [INFO]  [libimhex | Init Tasks]      Loading plugin 'decompress.hexplug'
[18:12:41] [INFO]  [libimhex | Init Tasks]      Loading plugin 'hashes.hexplug'
[18:12:41] [INFO]  [libimhex | Init Tasks]      Loading plugin 'visualizers.hexplug'
[18:12:41] [INFO]  [libimhex | Init Tasks]      Loading plugin 'yara_rules.hexplug'
[18:12:41] [INFO]  [libimhex | Init Tasks]      Loading plugin 'script_loader.hexplug'
[18:12:41] [INFO]  [libimhex | Init Tasks]      Loading plugin 'diffing.hexplug'
[18:12:41] [INFO]  [libimhex | Init Tasks]      Loading plugin 'remote.hexplug'
[18:12:41] [INFO]  [libimhex | Init Tasks]      Library 'fonts.hexpluglib' initialized successfully
[18:12:41] [INFO]  [libimhex | Init Tasks]      Library 'ui.hexpluglib' initialized successfully
[18:12:41] [INFO]  [builtin | Init Tasks]       Extracting auto_extract/workspaces/minimal.hexws to /Users/username/Library/Application Support/imhex/workspaces/minimal.hexws
[18:12:41] [INFO]  [builtin | Init Tasks]       Extracting auto_extract/workspaces/default.hexws to /Users/username/Library/Application Support/imhex/workspaces/default.hexws
[18:12:41] [INFO]  [builtin | Init Tasks]       Extracting always_auto_extract/magic/magic.mgc to /Users/username/Library/Application Support/imhex/magic/magic.mgc
[18:12:41] [INFO]  [libimhex | Init Tasks]      Layout unlocked
[18:12:41] [INFO]  [libimhex | Init Tasks]      Plugin 'builtin.hexplug' initialized successfully
[18:12:41] [INFO]  [libimhex | Init Tasks]      Plugin 'decompress.hexplug' initialized successfully
[18:12:41] [INFO]  [libimhex | Init Tasks]      Plugin 'diffing.hexplug' initialized successfully
[18:12:41] [INFO]  [libimhex | Init Tasks]      Plugin 'disassembler.hexplug' initialized successfully
[18:12:41] [INFO]  [libimhex | Init Tasks]      Plugin 'hashes.hexplug' initialized successfully
[18:12:41] [INFO]  [libimhex | Init Tasks]      Plugin 'remote.hexplug' initialized successfully
[18:12:41] [INFO]  [libimhex | Init Tasks]      Plugin 'script_loader.hexplug' initialized successfully
[18:12:41] [INFO]  [libimhex | Init Tasks]      Plugin 'visualizers.hexplug' initialized successfully
[18:12:41] [INFO]  [libimhex | Init Tasks]      Plugin 'yara_rules.hexplug' initialized successfully
[18:12:41] [INFO]  [main | Init Tasks]          Task 'Loading plugins' finished successfully in 30 ms
[18:12:41] [INFO]  [main | Init Tasks]          Task 'Load Window Settings' finished successfully in 0 ms
[18:12:41] [INFO]  [main | Init Tasks]          Task 'Configuring UI scale' finished successfully in 0 ms
[18:12:41] [INFO]  [main | Checking for updat]  Task 'Checking for updates' finished successfully in 0 ms
[18:12:41] [INFO]  [main | Init Tasks]          ImHex fully started in 46ms
[18:12:41] [INFO]  [libimhex | Main]            Switching to workspace 'Default'
[18:12:41] [INFO]  [libimhex | Main]            Switching to workspace 'Default'
[18:12:41] [INFO]  [libimhex | Main]            Updating workspace

ImHex Version

1.38.0.WIP

ImHex Build Type

  • Nightly or built from sources

Installation type

DMG

Additional context?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions