Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spawn windows console processes, e.g. poothon.exe, without console windows (IEP-1433) #1136

Open
powerbroker opened this issue Feb 5, 2025 · 0 comments

Comments

@powerbroker
Copy link

Describe the bug
When user launches an action, which invokes windows executable, 1 or more console windows pop up and close. Even if 'poothon.exe' is overwritten with 'poothonw.exe', console windows continue to blink.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'ESP-IDF Manager'

  2. Click on Refresh button

  3. Enjoy console windows blink several times.

Expected behavior
No console windows pop up, the external console process is spawned with hidden windows. The process output is captured silently e.g. in the way Oppache commons-exec do, and only shown within Eclipse UI when necessary.

Executing python E:\ESP32\ESP-IDF\esp-idf-v5.4\tools\idf_tools.py list
CDT Build environment variables
USERDOMAIN_ROAMINGPROFILE: BLACKBOX
PATH: d:\idIoT.Users\KDV.espressif\tools\xtensa-esp-elf-gdb\14.2_20240403\xtensa-esp-elf-gdb\bin;d:\idIoT.Users\KDV.espressif\tools\riscv32-esp-elf-gdb\14.2_20240403\riscv32-esp-elf-gdb\bin;d:\idIoT.Users\KDV.espressif\tools\xtensa-esp-elf\esp-14.2.0_20241119\xtensa-esp-elf\bin;d:\idIoT.Users\KDV.espressif\tools\esp-clang\esp-18.1.2_20240912\esp-clang\bin;d:\idIoT.Users\KDV.espressif\tools\riscv32-esp-elf\esp-14.2.0_20241119\riscv32-esp-elf\bin;d:\idIoT.Users\KDV.espressif\tools\esp32ulp-elf\2.38_20240113\esp32ulp-elf\bin;d:\idIoT.Users\KDV.espressif\tools\cmake\3.30.2\bin;d:\idIoT.Users\KDV.espressif\tools\openocd-esp32\v0.12.0-esp32-20241016\openocd-esp32\bin;d:\idIoT.Users\KDV.espressif\tools\ninja\1.12.1;d:\idIoT.Users\KDV.espressif\tools\idf-exe\1.0.3;d:\idIoT.Users\KDV.espressif\tools\ccache\4.10.2\ccache-4.10.2-windows-x86_64;d:\idIoT.Users\KDV.espressif\tools\dfu-util\0.11\dfu-util-0.11-win64;d:\idIoT.Users\KDV.espressif\tools\qemu-xtensa\esp_develop_9.0.0_20240606\qemu\bin;d:\idIoT.Users\KDV.espressif\tools\qemu-riscv32\esp_develop_9.0.0_20240606\qemu\bin;d:\idIoT.Users\KDV.espressif\python_env\idf5.4_py3.11_env\Scripts;E:\ESP32\ESP-IDF\esp-idf-v5.4\tools;C:\Program Files\Common Files\Oracle\Java\javapath;c:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\windows\system32\windowspowershell\v1.0;d:\idiot.shitware\dotminjet-core-uninstall;d:\common.programs\git\cmd;e:\jabba\jdk\bin;e:\tools\pcad2006 viewer;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;d:\idIoT.Users\KDV\AppData\Local\Microsoft\WindowsApps;d:\Common.Programs\Git\usr\bin;e:\PIC\XC8\bin;e:\MCS51\SDCC\bin;e:\Tools\GnuCoreUtils\bin;E:\AVR\WinAVR-20100110\bin;E:\AVR\WinAVR-20100110\utils\bin;D:\idIoT.Shitware\PhornixSuite\PhoenixSuit
PROCESSOR_LEVEL: 23
SESSIONNAME: Console
=M:: M:
ALLUSERSPROFILE: d:\idIoT.ProgramData
PROCESSOR_ARCHITECTURE: AMD64
ESP_IDF_VERSION: 5.4
PSModulePath: %ProgramFiles%\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
SystemDrive: C:
OPENOCD_SCRIPTS: d:\idIoT.Users\KDV.espressif\tools\openocd-esp32\v0.12.0-esp32-20241016\openocd-esp32\share\openocd\scripts
=E:: e:!IDE\Eclipse-JEE-2024-12-R
COMMANDER_INI: D:\idIoT.Shitware\TotalCMD Extended\wincmd.ini
IDF_DEACTIVATE_FILE_PATH: d:\IDIOT1.USE\KDV\AppData\Local\Temp\tmpm_ijpy91idf_15568
IDF_CCACHE_ENABLE: 1
USERNAME: KDV
=Z:: Z:
ProgramFiles(x86): C:\Program Files (x86)
PhoenixPath: D:\idIoT.Shitware\PhornixSuite\PhoenixSuit
FPS_BROWSER_USER_PROFILE_STRING: Default
PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
DriverData: C:\Windows\System32\Drivers\DriverData
NIEXTCCOMPILERSUPP: C:\Program Files (x86)\National Instruments\Shared\ExternalCompilerSupport\C
ProgramData: d:\idIoT.ProgramData
IDF_COMPONENT_MANAGER: 1
=F:: F:
ProgramW6432: C:\Program Files
AVR32_HOME: E:\AVR\WinAVR-20100110
COMMANDER_PATH: D:\idIoT.Shitware\TotalCMD Extended
HOMEPATH: \idIoT.Users\KDV
PROCESSOR_IDENTIFIER: AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD
PYTHON_EXE_PATH: E:!IDE\KiCad 8.0.7\bin\python.exe
ProgramFiles: C:\Program Files
PUBLIC: d:\idIoT.Users\Public
windir: C:\Windows
=::: ::
LOCALAPPDATA: d:\idIoT.Users\KDV\AppData\Local
=S:: S:
COMMANDER_EXE: D:\idIoT.Shitware\TotalCMD Extended\TotalCMD64.exe
COMMANDER_DRIVE: D:
OIT_DATA_PATH: D:\idIoT.Shitware\TotalCMD Extended\Plugins\wlx\ulister
USERDOMAIN: BLACKBOX
FPS_BROWSER_APP_PROFILE_STRING: Internet Explorer
LOGONSERVER: \BLACKBOX
JAVA_HOME: e:\Jabba\jdk
=G:: G:
IDF_TOOLS_PATH: d:\idIoT.Users\KDV.espressif
KICAD_DOCUMENTS_HOME: e:!IDE\UserHome
=C:: C:
APPDATA: d:\idIoT.Users\KDV\AppData\Roaming
VBOX_MSI_INSTALL_PATH: d:\idIoT.Shitware\VirtualBox
=X:: X:
CommonProgramFiles: C:\Program Files\Common Files
Path: C:\Program Files\Common Files\Oracle\Java\javapath;c:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\windows\system32\windowspowershell\v1.0;d:\idiot.shitware\dotminjet-core-uninstall;d:\common.programs\git\cmd;e:\jabba\jdk\bin;e:\tools\pcad2006 viewer;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;d:\idIoT.Users\KDV\AppData\Local\Microsoft\WindowsApps;d:\Common.Programs\Git\usr\bin;e:\PIC\XC8\bin;e:\MCS51\SDCC\bin;e:\Tools\GnuCoreUtils\bin;E:\AVR\WinAVR-20100110\bin;E:\AVR\WinAVR-20100110\utils\bin;D:\idIoT.Shitware\PhornixSuite\PhoenixSuit
OS: Windows_NT
COMPUTERNAME: BLACKBOX
IDF_PATH: E:\ESP32\ESP-IDF\esp-idf-v5.4
KICAD_CONFIG_HOME: e:!IDE\UserHome\KiCad
COMMANDER_INSTANCE: 1
PROCESSOR_REVISION: 7100
CommonProgramW6432: C:\Program Files\Common Files
ComSpec: C:\Windows\system32\cmd.exe
STM32CubeMX_PATH: e:\STM32\STM32CubeMX
IDF_MAINTAINER: 1
=D:: D:
SystemRoot: C:\Windows
TEMP: d:\IDIOT
1.USE\KDV\AppData\Local\Temp
HOMEDRIVE: d:
USERPROFILE: d:\idIoT.Users\KDV
TMP: d:\IDIOT~1.USE\KDV\AppData\Local\Temp
CommonProgramFiles(x86): C:\Program Files (x86)\Common Files
NUMBER_OF_PROCESSORS: 32
IDF_PYTHON_ENV_PATH: d:\idIoT.Users\KDV.espressif\python_env\idf5.4_py3.11_env
=Y:: Y:
ESP_ROM_ELF_DIR: d:\idIoT.Users\KDV.espressif\tools\esp-rom-elfs\20241011\

Operating System: windows 11
Java Runtime Version: 23.0.2+7-58
Eclipse Version: 4.34.0.v20241120-1800
Eclipse CDT Version: 11.6.1.202406241230
IDF Eclipse Plugin Version: 3.2.0.202501110717
ESP-IDF v5.4-dirty
Python set for IDF_PYTHON_ENV: Python 3.11.5

@github-actions github-actions bot changed the title Spawn windows console processes, e.g. poothon.exe, without console windows Spawn windows console processes, e.g. poothon.exe, without console windows (IEP-1433) Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant