[WIN] launcher: Write execute commands to the history file