@output = system ("....")
to collect the output of the command you want to use
the backticks @output = `...` or @output = qx{...} not a system function.
Please check Quote-Like-Operators.
However, to know if your command "java -jar cmdline-jmxclient-0.10.3.jar - localhost:
+1100 com.ogs.red5.client.manager:name=Manager getConnectedAgents" works is a different story altogehter.
In reply to Re: How to print the contents of system function to a .txt file
by 2teez
in thread How to print the contents of system function to a .txt file
by astronogun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |