I am building on package using python script on yocto Pyro.
In Python script i am using subprocess.Popen
.
As per my understanding when the Python Script runs for Cross Platform then it should take Cross-platfrom Python subprocess path however in my case its take native path "/usr/lib/python2.7/subprocess.py" i.e of PC.
Because of that i am facing in _execute_child raise child_exception
.
Can any help to resolve this issue ?
Error is below
File "/usr/lib/python2.7/subprocess.py", line 566, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
PS: i have already tried "shell=True" option but it did not resolve my issue.