Short:
The other day i was making a python script to see currently opend ngc file, in case if I'm running a global LinuxCNC installation i can read the current file, but for a local installation of LinuxCNC I'm getting an empty string. What could be the problem.
Long:
On my laptop i have a simulation package of LinuxCNC installed. The installation was done pulling the LinuxCNC from GitHub and making a deb package, as i wanted to make a system wide installation.
Often there are other branches of LinuxCNC that solves my problem, hence I download them and make a local installation on my laptop.
To start a global installed file i directly type linuxcnc in my shell script.
Whereas for a local installation i have to cd to the location and then to script folder then i type ./linuxcnc. Everytime things work fine.
The other day i was making a python script to see currently opend ngc file, in case if I'm running a global LinuxCNC installation i can read the current file, but for a local installation of LinuxCNC I'm getting an empty string. What could be the problem.
Any help will be appreciated.
Thanks,
Kunal.