Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

data services: exec function to access unix files in job server

$
0
0

Hi,

 

I m trying to use exec function to execute unix command to access some files in the job server. But the below command is giving only 1020 characters of the result . Please let me know how to I get the complete result. I think its bcoz of  '-c'.

 

print(exec('/bin/sh','-c " ls /home/xyz/filename*" '));


Viewing all articles
Browse latest Browse all 3719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>