Initializes the program, makes the dock and runs it.
the command-line arguments
the exit status value