How to create console-independed current-dir independed linux launcher