RunProgram
Posted: Fri Aug 02, 2024 12:17 pm
Why doesn't the following code work on Linux? It is necessary to open the term inal and execute the command
Code: Select all
Compiler = RunProgram("gnome-terminal", "", "", #PB_Program_Open | #PB_Program_Read|#PB_Program_Write|#PB_Program_Connect)
Input$ = "./hello"
If Compiler
WriteProgramStringN(Compiler, Input$, #PB_UTF8)
CloseProgram(Compiler)
EndIf