Hello.
I have python script to communicate with serial port.
I start this script using EXEC-NODE: "python3 /home/pi/pyscript/pyscript.py"
In processes the running script is there as python3.
But it is running in BACKGROUND.
How can I start the python script in FOREGROUND in TERMINAL?
It is communicating via USB port through XBee to Zigbee.
This python script does all the configurations of XBee and decodes the data received from the Zigbee End device (aqira rHT sensor).
The way to start a command prompt from the EXEC node like you ask is like this example taken from my system. Here I'm using uxterm to be able to set the size and position on the display. The display number is normally 0 but if you have several displays, you may have to pick another number