1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#! /bin/sh /usr/share/dpatch/dpatch-run
## use_x-terminal-emulator.dpatch by Mirco Bauer <meebey@meebey.net>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@
diff -urNad monodevelop-0.13.1~/Core/src/MonoDevelop.Core/MonoDevelop.Core.Execution/ProcessService.cs monodevelop-0.13.1/Core/src/MonoDevelop.Core/MonoDevelop.Core.Execution/ProcessService.cs
--- monodevelop-0.13.1~/Core/src/MonoDevelop.Core/MonoDevelop.Core.Execution/ProcessService.cs 2007-03-08 00:02:14.000000000 +0100
+++ monodevelop-0.13.1/Core/src/MonoDevelop.Core/MonoDevelop.Core.Execution/ProcessService.cs 2007-04-01 22:57:37.000000000 +0200
@@ -116,8 +116,8 @@
string additionalCommands = "";
if (!console.CloseOnDispose)
additionalCommands = @"echo; read -p 'Press any key to continue...' -n1;";
- ProcessStartInfo psi = new ProcessStartInfo("xterm",
- String.Format (@"-e ""cd {3} ; '{0}' {1} ; {2}""", command, arguments, additionalCommands, workingDirectory.Replace (" ", "\\ ")));
+ ProcessStartInfo psi = new ProcessStartInfo("x-terminal-emulator",
+ String.Format (@"-e /bin/sh -c ""cd {3} ; '{0}' {1} ; {2}""", command, arguments, additionalCommands, workingDirectory.Replace (" ", "\\ ")));
psi.UseShellExecute = false;
if (workingDirectory != null)
|