Sourcing .sh file from Ubuntu from python script window
I am writing python script in windows, and in the script i need to run some openfoam commands from Ubuntu therefore i need to source ~/.bashrc to make the commands recognized.
I did manage to include source /opt/OpenFOAM/OpenFOAM-v2406/etc/bashrc and i manage to run the foam commands from python script in windows, but i have many other environment needed to be sourced.
Therefore I need to source the ~/.bashrc itself.
I tried many way but all of them failed.
I even copied the necessary commands from ~/.bashrc to anoth temp.sh because in ~/.bashrc it block any recall from external environment to source the bashrc file.
This step is important and all the script depends on it to make my python script run any commands from Ubuntu smoothly.
Thanks in advance.
automatic zoom launch on Ubuntu
”’I created an application to automatically launch zoom meeting by clicking on a button, it seems to work on Windows 10, but not on Ubuntu And I’m not sure it works on another machine. I have a list of periodic meetings, the details of which I integrated into a config file, the file contains the names, hours, days, indefinite and password of meetings. I’m trying to call the zoom process and launch the chosen meeting by clicking on a button.It works perfectly on my machine under windows, but nothing happens on my other machine under Ubuntu
I tried this function, which is supposed to be called the zoom process and give it the connection information present in the config file