dd command does not work with system function
dd command does not work with system function
we have an application that uses the Linux system() function to call the Linux dd command write to a USB drive. The system command does not return any error codes, it returns 0, but it doesn't write the file. When we run the dd command from the command line, the file is created. The application uses the system() function for other commands with no problems. This used to work in fedora 20. The application is running as root. We are using CentOS 8.2. Any ideas?