Simplify terminal creation
Fix for launching subprocess