Hi,I am executing odcmd to run an OD deployment file.my $deploy_cmd = "$OD_DIR/bin/iwodcmd start opendeploy -inst $taskid";my $resultsfile= "$iwhome/tmp/results.$wfid"; my $results = `$deploy_cmd > $resultsfile`;i want to rediect the output to result file ,the file is getting created but it is blank also the OD is able to deploy the files successfully.Let me know why is this not working or if there is any other way
qx($deploy_cmd > $resultsfile 2>&1);
my $status = system("$deploy_cmd > $resultsfile 2>&1");
qx($deploy_cmd 2>&1 > $resultsfile);
my $results = qx($deploy_cmd 2>&1);