Calling c_str() after vfork is prohibited after a successful vfork. Also the string needs to remain in scope until exec() completed.
2.9 KiB
2.9 KiB
Calling c_str() after vfork is prohibited after a successful vfork. Also the string needs to remain in scope until exec() completed.