Skip to content

changed the fork_exec function in misc.c, to parse correctly

Ghost User requested to merge (removed):master into master

changed the fork_exec function in misc.c, to parse correctly command lines that contain spaces. According to Samuel Thibault g_shell_parse_argv does only tokenization, and no replacement. This problem arised when modifying QEMU because the new version 4 of Samba disables version 1 of the SMB protocols, to run old Win clients I am developing a patch that gets the value of the environment variable SMBDOPTIONS and appends it to the smbd command line; it allows the user to specify additional samba daemon parameters before starting qemu. Example: export SMBDOPTIONS="--option='server min protocol=CORE' -d 4"

Signed-off-by: Jordi Pujol Palomer jordipujolp@gmail.com

Merge request reports