Skip to content

Conversation

@iLLiCiTiT
Copy link
Member

Changelog Description

New ayon console process has new console window.

Additional info

The logic is handled in run_detached_process which is usually used for launch of new AYON launcher process.

Testing notes:

  1. Use ayon_console.exe executable.
  2. Any new process of AYON launcher should spawn a console, for example traypublisher.

@ynbot ynbot added type: enhancement Improvement of existing functionality or minor addition size/XS labels Jul 21, 2025
@iLLiCiTiT iLLiCiTiT requested review from BigRoy and antirotor July 21, 2025 15:29
@iLLiCiTiT iLLiCiTiT self-assigned this Jul 21, 2025
@BigRoy
Copy link
Collaborator

BigRoy commented Jul 21, 2025

Should this also work in dev mode and/or running from live source code? Should this be using is_using_ayon_console function instead?

Might also be good in PR title and description to hint this is Windows only change.

@iLLiCiTiT iLLiCiTiT changed the title Chore: Detached process has own console Chore: Windows AYON launcher subprocess has own console Jul 21, 2025
@iLLiCiTiT
Copy link
Member Author

Should this also work in dev mode and/or running from live source code? Should this be using is_using_ayon_console function instead?

The issue with that is that the function, where it is handled, is not used only for ayon launcher process.

@BigRoy
Copy link
Collaborator

BigRoy commented Jul 21, 2025

Anyway, I get a very brief console window popping up - but it almost immediately shuts down. So it does seem to launch with a console, but whatever it executes 'finished' rapidly.

2025-07-21.17-56-38.mp4

Note that "Admin > Publish Report Viewer" does NOT show a console at all... just the actions do for a very brief second.

Or is this intended to only work with command line?

@iLLiCiTiT
Copy link
Member Author

iLLiCiTiT commented Jul 21, 2025

Note that "Admin > Publish Report Viewer" does NOT show a console at all... just the actions do for a very brief second.

That tool is not showed in subprocess.

Anyway, I get a very brief console window popping up - but it almost immediately shuts down. So it does seem to launch with a console, but whatever it executes 'finished' rapidly.

Aaah, I didn't test it with webactions. Interesting.

EDIT:
I did test it with per-project bundles PRs where it worked, maybe it is something connected to that, changing to draft for now.

@iLLiCiTiT iLLiCiTiT marked this pull request as draft July 21, 2025 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS type: enhancement Improvement of existing functionality or minor addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants