TheIrishThug
Programmer
I have a config file for the linux command top. top looks for the config file to be in your home directory (~/.toprc) or /etc/toprc
When the file is in my home directory and I run top from the command line, the config file is read correctly. However when I execute top within a tcl script, top reverts to the defaults.
Any ideas why tcl's call of top is not being seen as an equivalent call from the command line? Is the installation folder of tcl being used as the home directory instead of the home directory of the user that runs the script?
When the file is in my home directory and I run top from the command line, the config file is read correctly. However when I execute top within a tcl script, top reverts to the defaults.
Any ideas why tcl's call of top is not being seen as an equivalent call from the command line? Is the installation folder of tcl being used as the home directory instead of the home directory of the user that runs the script?