Passing parameters to pre-launched applications