Execution of perl based script failed on Windows
Hi!
is there anything special I should do on Windows to be able to execute perl script?
The problem is that by default %perl_bin% variable is extended to a value without slashes... When I'm executing the same script manually from cmd.exe everything is as expected.
Thanks,
Ryszard
------ Script being executed on Windows based Agent:
echo hello!
echo %perlbin%
set
------ output (with removed non relevant lines):
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
D:\oem\agent_base\agent_inst\sysman\emd>echo hello!
hello!
D:\oem\agent_base\agent_inst\sysman\emd>echo D:oemagent_basecore12.1.0.2.0perlbin
D:oemagent_basecore12.1.0.2.0perlbin
D:\oem\agent_base\agent_inst\sysman\emd>set
AGENT_SERVICE_NAME=Oracleagent12c1Agent
EMAGENT_DHTML_PORT=54000
EMAGENT_PERL_TRACE_FILESIZE=5
EMAGENT_PERL_TRACE_LEVEL=2
EMDROOT=D:\oem\agent_base\core\12.1.0.2.0
EMHOME=D:\oem\agent_base\agent_inst
EMPERLOHBIN=\perl\bin
EMPERLVER=5.10.0.0.0
EMPRODVER=11.1.0.1.0
EMSTATE=D:\oem\agent_base\agent_inst
SBINDIR=D:\oem\agent_base\sbin
PERL5LIB=D:\oem\agent_base\core\12.1.0.2.0\\perl\bin;D:\oem\agent_base\core\12.1.0.2.0\perl\lib;D:\oem\agent_base\core\12.1.0.2.0\perl\lib\site_perl;D:\oem\agent_base\core\12.1.0.2.0\perl\site\lib;D:\oem\agent_base\core\12.1.0.2.0\sysman\admin\scripts;D:\oem\agent_base\core\12.1.0.2.0\sysman\admin\scripts\Net-DNS-0.48\lib;D:\oem\agent_base\core\12.1.0.2.0\bin;D:\oem\agent_base\core\12.1.0.2.0\bin;D:\oem\agent_base\core\12.1.0.2.0\sysman\admin\scripts\libnet-1.19
PERL_BIN=D:\oem\agent_base\core\12.1.0.2.0\\perl\bin
PERL_HOME=D:\oem\agent_base\core\12.1.0.2.0\perl