[Mono-bugs] [Bug 78054][Nor] New - problem with running application
by System.Diagnostics.Process in 1.1.14
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Apr 8 17:56:19 EDT 2006
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 entereczek at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=78054
--- shadow/78054 2006-04-08 17:56:19.000000000 -0400
+++ shadow/78054.tmp.20507 2006-04-08 17:56:19.000000000 -0400
@@ -0,0 +1,44 @@
+Bug#: 78054
+Product: Mono: Runtime
+Version: 1.1
+OS:
+OS Details: Mandriva '06
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: entereczek at gmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: problem with running application by System.Diagnostics.Process in 1.1.14
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+I've updated my mono form 1.1.10 to 1.1.14 and when I try to run my app I
+get error that I want to use unknown option -k in head :(...
+In mono 1.1.10 everything works fine :(
+Code in my app:
+
+System.Diagnostics.Process process = new System.Diagnostics.Process();
+process.StartInfo.UseShellExecute = true;
+process.StartInfo.CreateNoWindow = true;
+process.StartInfo.FileName = "head -c 4 ~/.lol.cfg > pin;tail --lines=1
+~/.lol.cfg > id;curl -k -F \"a=sc_login\" -F \"UserName=<id\" -F \"login=\"
+-F \"pin=<pin\" -F \"_debug=\" -F \"_hasVoIP=0\" -F \"client_id=\"
+\"https://somesite.com" > temp2 2>/dev/null;rm -f id;rm -f pin;grep bB
+temp2|grep MB > temp3;rm -f temp;rm -f temp2;replace \"<td
+class=\\\"bB\\\"> <b>\" \"\" \"</b></td>\" \"\" \" \" \"\" \"MB\" \"\"
+\".\" \",\" -- temp3 >/dev/null;";
+process.Start();
+process.WaitForExit();
+
+Expected Results:
+It should execute my string but it doesn't :(
+
+How often does this happen?
+Everytime I try
More information about the mono-bugs
mailing list