id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1482	OS X debugger xterm and Terminal.app	akoya	tome, bennie	"I am running universal perll 5.12.4 compiled with macports on OS X 10.5.

On my installation of Padre 0.96 the debugger only works if I start Padre from the terminal and
X11 is properly configured to run.

When I build  a package for padre as a standalone bundle with all dependencies and start the debugger, padre will not find the xterm and hang:

{{{
29/01/13 2:08:43 [0x0-0x3ab3ab].org.perlide.padre sh: xterm: command not found
}}}
 
Attached is a patch over 0.96 that works on 10.5 for me, not tested on other OS versions. The path for xterm should be the same for other versions...

Maybe there is a better solution that accounts for other system() calls in padre...

This code has changed in trunk but it does not seem to work for me.
In trunk xterm has been substituted by Terminal.app and this should be a much nicer solution.

However the code used to launch Terminal app in trunk requires Applescript which may introduce additional hassle. I have attached another patch to accomplish the same using open and tempfile as a suggestion.

I believe tnis is for tome

Thanks
"	enhancement	closed	trivial		OSX	0.96	duplicate	debugger osx	
