Quantcast
Channel: Cadence Technology Forums
Viewing all articles
Browse latest Browse all 62734

Forum Post: RE: SKILL function to output the result from lmstat command

$
0
0
Jay, My point about using tee is that you're then producing a load of standard output which you're not consuming, potentially filling up the input buffer back to virtuoso. So I wouldn't do that if you just want a file. You could use cid=ipcBatchProcess("lmstat -s" "" "./licenseLog.txt") ipcWait(cid) Given that this is failing for perl too, I wonder whether the executable is failing with an error - perhaps your command could be: my $serverStatusCmd="lmstat -s > ".$pwd."/licenseLog.txt"." 2>&1" This would redirect any stderr to the file too - might give a clue as to why it's failing. Either way, doesn't sound like it's a Cadence issue - since you're using a non-Cadence executable (lmstat is from Flexera) and you're invoking it from perl... Andrew.

Viewing all articles
Browse latest Browse all 62734

Trending Articles



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