From 8544f3b2302747931fdf46e3a28484ebc477bfa9 Mon Sep 17 00:00:00 2001 From: ndparker <> Date: Thu, 26 Jul 2001 00:41:44 +0000 Subject: [PATCH] fixed the "strict subs" error --- selfforum-cgi/shared/Arc/Starter.pm | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/selfforum-cgi/shared/Arc/Starter.pm b/selfforum-cgi/shared/Arc/Starter.pm index c7fe64e..ea923a7 100644 --- a/selfforum-cgi/shared/Arc/Starter.pm +++ b/selfforum-cgi/shared/Arc/Starter.pm @@ -48,14 +48,16 @@ sub win32_start ($) { require Win32::Process; Win32::Process -> import ('NORMAL_PRIORITY_CLASS', 'DETACHED_PROCESS'); require Win32; - Win32::Process::Create( - $p, - $x, - "perl $sev", - 0, - NORMAL_PRIORITY_CLASS | DETACHED_PROCESS, - "." - ) or warn 'could not execute severancer: '.Win32::FormatMessage(Win32::GetLastError()); + eval q{ + Win32::Process::Create( + $p, + $x, + "perl $sev", + 0, + NORMAL_PRIORITY_CLASS | DETACHED_PROCESS, + "." + ) or warn 'could not execute severancer: '.Win32::FormatMessage(Win32::GetLastError()); + } } ### posix_start () ############################################################# -- 2.34.1