[Mono-bugs] [Bug 77616][Wis] New - ServiceBase.OnStart should receive command line

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Feb 22 09:53:45 EST 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 pawel.sakowski at mind-breeze.com.

http://bugzilla.ximian.com/show_bug.cgi?id=77616

--- shadow/77616	2006-02-22 09:53:45.000000000 -0500
+++ shadow/77616.tmp.26635	2006-02-22 09:53:45.000000000 -0500
@@ -0,0 +1,27 @@
+Bug#: 77616
+Product: Mono: Tools
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: tools
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: pawel.sakowski at mind-breeze.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ServiceBase.OnStart should receive command line
+
+Currently, System.ServiceProcess.ServiceBase.OnStart is always started by
+mono-service with the argument of new string[0]. It makes it impossible to
+use the most natural way of service start parametrization (the next best
+thing, env variables, is obviously ugly).
+
+mono-service command-line invocation should accept trailing arguments and
+pass those to the service. Since currently all invocations with more than
+one non-option argument are currently rejected, such change would be
+backwards-compatible.


More information about the mono-bugs mailing list