[Mono-bugs] [Bug 55868][Min] Changed - Process.StartInfo.UseShellExecute - gnome-open/kfmclient
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 5 May 2005 15:58:29 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by bmaurer@users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=55868
--- shadow/55868 2004-03-21 01:44:07.000000000 -0500
+++ shadow/55868.tmp.30500 2005-05-05 15:58:29.000000000 -0400
@@ -1,14 +1,14 @@
Bug#: 55868
Product: Mono: Runtime
Version: unspecified
-OS:
+OS: unknown
OS Details:
-Status: NEW
-Resolution:
-Severity:
+Status: RESOLVED
+Resolution: FIXED
+Severity: Unknown
Priority: Minor
Component: misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: gonzalo@ximian.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -20,6 +20,20 @@
cmd /c is run. This can also handle, for example, a pdf file by loading
acrobat reader or any application registered.
I think we should provide a shell script that either achieves the same
thing by using gnome-open or kfmclient or runs $SHELL -c if they are not
available or fail to handle the file.
+
+------- Additional Comments From bmaurer@users.sf.net 2005-05-05 15:58 -------
+Already done:
+
+ if (process_info->use_shell) {
+ const gchar *spath;
+ const gchar *shell_args;
+#ifdef PLATFORM_WIN32
+ spath = g_getenv ("COMSPEC");
+ shell_args = "/c %s";
+#else
+ spath = g_getenv ("SHELL");
+ shell_args = "-c %s";
+#endif