You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Passing a string w/o setting shell=True to Popen results in Python trying to execute a file named something like /cmd arg1 arg2 which is not what you want:
This results for example in FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/python /.../examples/evkmimxrt1020/demo_apps/hello_world/armgcc/../../../../../core/scripts/kconfig/menuconfig.py /.../examples/evkmimxrt1020/demo_apps/hello_world/armgcc/../../../../../core/Kconfig' when running make menuconfig in the hello world example (for the rt1020).
This should be changed to either splitting the string into its components, e.g., via shlex.split(command) or by adding shell=True.
The text was updated successfully, but these errors were encountered:
Passing a string w/o setting
shell=True
toPopen
results in Python trying to execute a file named something like/cmd arg1 arg2
which is not what you want:mcux-sdk/scripts/kconfig/mcux.py
Line 26 in cf224e2
This results for example in
FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/python /.../examples/evkmimxrt1020/demo_apps/hello_world/armgcc/../../../../../core/scripts/kconfig/menuconfig.py /.../examples/evkmimxrt1020/demo_apps/hello_world/armgcc/../../../../../core/Kconfig'
when runningmake menuconfig
in the hello world example (for the rt1020).This should be changed to either splitting the string into its components, e.g., via
shlex.split(command)
or by addingshell=True
.The text was updated successfully, but these errors were encountered: