Koha/sms/sms_listen_windows_start.pl
Joe Atzberger 9c8a1e29f8 SMS - widespread cleanup and moving code away from Cyprus/Turkey-specific implementation. Much more needed.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-02-06 23:19:30 -06:00

16 lines
460 B
Perl
Executable file

#!/usr/bin/perl
# script that starts the zebraqueue
# Written by TG on 01/08/2006
use strict;
use Win32::Process;
use Win32;
use C4::Context;
use CGI;
my $input=new CGI;
my $fileplace=C4::Context->config('intranetdir');
my $fullpath=$fileplace."/cgi-bin/sms";
my $ZebraObj;
my $pid=Win32::Process::Create($ZebraObj, "C:/perl/bin/perl.exe", 'perl sms_listen.pl', 0, DETACHED_PROCESS, $fullpath);
print $input->redirect("/cgi-bin/koha/mainpage.pl?pid=$pid");