B4J Question [RASPBERRY PI] Read stdOut with jShell

jmon

Well-Known Member
Licensed User
Longtime User
Hello,

On raspberry Pi I can't seem to get any stdOut with jShell:

B4X:
Dim sh As Shell
sh.Initialize("getPID", "pgrep", Array("raspistill")))
sh.RunSynchronous(5000)

stdOut is empty, but I expect to get the PID of that program (i.e. 5607):

Capture.PNG


Am I missing something?

Thank you for your help
Jmon.
 
Top