[Gambas-user] Shell and exit no longer return control to the calling class - ever
T Lee Davidson
t.lee.davidson at gmail.com
Sun Oct 18 06:02:57 CEST 2020
On 10/17/20 11:02 PM, Bruce wrote:
> Says it all really.
>
> Public Sub Maini()
>
> Shell "ls -l"
> Print "Hello i'm back"
>
> End
>
> Never comes back and says hello.
> After exitting the IDE there is still a process running.
>
> :-(
> b
It works fine here.
"Hello i'm back" is printed prior to the "ls -l" output since there is no Wait specified.
With:
Public Sub Main()
Shell "ls -l" Wait
Print "Hello i'm back"
End
The output is as one would expect, and I find no 'orphan' process.
--
Lee
More information about the User
mailing list