SOLLLLVEDDDDDDDDDDDDDDDD original code of program.exe: Code: #include <stdio.h> #include <stdlib.h> int main() { printf("probando ejecutable"); printf("llamando a ABIWORD desde wine ..."); system("/bin/sh -c /script.run file.txt"); return 0; } modified code: Code: #include <stdio.h> #include <stdlib.h> int main() { printf("probando ejecutable"); printf("llamando a ABIWORD desde wine ..."); system("/bin/sh -c \"/script.run file.txt\""); return 0; } works perfectly