Bug 7868

Summary: Busybox doesnt return the exit status for any command
Product: Busybox Reporter: ananth <sananthkini>
Component: Standard ComplianceAssignee: unassigned
Status: RESOLVED WORKSFORME    
Severity: major CC: busybox-cvs
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Host: Target:
Build:
Attachments: Attached the .config file used to build busybox from source

Description ananth 2015-02-10 02:13:28 UTC
Created attachment 5852 [details]
Attached the .config file used to build busybox from source

When i execute commands like 
int ret=system("ls")  where ls is actually busybox ls

the return value in ret is always -1 . 


I read some blogs regarding this problem and it seems that its due to some configuration problem. I have attached the busybox config being used by me while building busybox version 1.23.1
Comment 1 ananth 2015-02-10 03:22:45 UTC
The busy box was built for the  Freescale IMX6 processor with ARM core
Comment 2 Denys Vlasenko 2015-02-10 15:55:04 UTC
Please post log file of "strace -f -oLOG <program> <args>" where <program> tries to call busybox via system().