Hello Everyone
I am writing a Perl menu program. My intensions are to have a program that I can execute various flexlm commands from. We have several different vendors that I serve licenses for and I use Macrovisions flexlm stuff to do that. I am attempting to write a menu type program that lists all the vendors I have a license for in a listbox. I have a serious of buttons with various tasks assigned to the buttons, and a text window to display results or output in. The problem I am having is getting the flexlm commands to write to my perl window and not to the term window that my program was started from. I have even tried re-directing the system command to a file and then open and write the file to my text window but nothing goes to the text file when the command is run through perl. If I run the same command from the terminal command line I can get the output info that the flexlm command outputs to go to the text file that is why I thought it would work the same way in perl through the system command but, it doesn't. I did find an example that states a way to get STDOUT to write to a perl window and not to the term window but, I can only get that to work if I use there tail command example. Any help will be greatly appreciated.
I am writing a Perl menu program. My intensions are to have a program that I can execute various flexlm commands from. We have several different vendors that I serve licenses for and I use Macrovisions flexlm stuff to do that. I am attempting to write a menu type program that lists all the vendors I have a license for in a listbox. I have a serious of buttons with various tasks assigned to the buttons, and a text window to display results or output in. The problem I am having is getting the flexlm commands to write to my perl window and not to the term window that my program was started from. I have even tried re-directing the system command to a file and then open and write the file to my text window but nothing goes to the text file when the command is run through perl. If I run the same command from the terminal command line I can get the output info that the flexlm command outputs to go to the text file that is why I thought it would work the same way in perl through the system command but, it doesn't. I did find an example that states a way to get STDOUT to write to a perl window and not to the term window but, I can only get that to work if I use there tail command example. Any help will be greatly appreciated.