Moved from spawn to exec as shallow_flash's getopt acted up between different nix derivates. Added more logging to warn users about the time spend without log written to the stdout