You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiled simple shell script to executable with command line: shc -S -f <my-script-filename>
Tested resulting executable several times. Runs as expected.
Rebooted machine.
Tried to run executable.
Executable fails and outputs random-seeming characters to stdout
Workaround: Recompiled with modified flags: shc -r -S -f <my-script-filename>
Executable now survives reboot.
The text was updated successfully, but these errors were encountered:
Interesting, I have the same issue.
But I wonder, it is the very same machine, same architecture, same Linux OS, what is different after a reboot? There might be changes in /proc, /sys, and /dev - maybe. But what is the real explanation?
Compiled simple shell script to executable with command line:
shc -S -f <my-script-filename>
Tested resulting executable several times. Runs as expected.
Rebooted machine.
Tried to run executable.
Executable fails and outputs random-seeming characters to stdout
Workaround: Recompiled with modified flags:
shc -r -S -f <my-script-filename>
Executable now survives reboot.
The text was updated successfully, but these errors were encountered: