Page 1 of 1

#PB_Program_Hide no effect on ubuntu?!?

Posted: Sun Aug 09, 2009 2:13 pm
by sverson
RunProgram always starts 'MyProgram$' visible.
#PB_Program_Hide seems to have no effect on Ubuntu. :cry:

Code: Select all

MyProgram$ = OpenFileRequester("","","*",0)
MyPrgNo.l = RunProgram(MyProgram$, MyParam$, "", #PB_Program_Open|#PB_Program_Hide)
MessageRequester("MyPrgNo",Str(MyPrgNo))
If IsProgram(MyPrgNo)
  If ProgramRunning(MyPrgNo)
    KillProgram(MyPrgNo)
  EndIf
  CloseProgram(MyPrgNo)
EndIf
The same code works fine on Windows.