Luis Lavena
4/5/2008 12:02:00 AM
On Apr 4, 8:55 pm, Brian Scott <mr.nov...@gmail.com> wrote:
> If I use the following code:
>
> Service.create('TBWin32Agt', nil,
> :service_type => Service::WIN32_OWN_PROCESS,
> :description => ' Reporting Agent',
> :start_type => Service::AUTO_START,
> :error_control => Service::ERROR_NORMAL,
> :binary_path_name => 'C:\\TBWin32\\TB Reporting
> Agent\\TBWin32ReportingAgt.exe',
> :load_order_group => 'Network',
> :dependencies => ['W32Time','Schedule'],
> :service_start_name => '',
> :password => '',
> :display_name => 'TBWin32RptAgt',
> )
>
> I get "unexpected )" error
>
That's because there is a ',' before the ) ... a silly typo, just
remove it.
--
Luis Lavena