[Gambas-user] Problem with finished Shell Process.State <> Process.Stopped

Bruce Steers bsteers4 at gmail.com
Mon Feb 27 00:25:26 CET 2023

Did you try for input output ?

Input output works different to read write.

I had similar issues with ffmpeg tools.


On Sun, 26 Feb 2023, 20:20 T Lee Davidson, <t.lee.davidson at gmail.com> wrote:

> I am creating a project that uses yt-dlp to download media from Youtube.
> The project uses the Process = Shell [command] For Read as "Process"
> syntax because I want to track and display the progress.
> Downloads work well, but the Process never goes to Process.Stopped state.
> It works well on the command line and exits with code=0.
> There is a trap in the Form.Close event to prevent closing the application
> while a download is in progress. I always have to
> choose to abort the Process even though it is finished.
> Is this expected behavior, a bug, or my misunderstanding of Process?
> Demo attached.
> --
> Lee
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230226/a12456b7/attachment.htm>

More information about the User mailing list