$^X in SpoolMailsReprocess.pm (Why)?

English! place to talk about development, programming and coding
Post Reply
ChrisRitson
Znuny newbie
Posts: 4
Joined: 25 Jan 2018, 13:11
Znuny Version: 5.0.26
Real Name: Chris Ritson
Company: School of Computing, Newcastle University

$^X in SpoolMailsReprocess.pm (Why)?

Post by ChrisRitson »

Can somebody explain the $^X in:

Kernel/System/Console/Command/Maint/PostMaster/SpoolMailsReprocess.pm:61: my $Result = system("$^X $Home/bin/otrs.Console.pl Maint::PostMaster::Read < $File ");

We are getting a regular failure from this, and if this is simply trying to run otrs.Console.pl Maint::PostMaster::Read then I don't understand at all.

Thanks, Chris Ritson.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: $^X in SpoolMailsReprocess.pm (Why)?

Post by reneeb »

This is the path to the perl installation that is used to run the Daemon job. See http://perldoc.perl.org/perlvar.html
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Post Reply