[Wine] Re: call openoffice in linux from wine

fachamix wineforum-user at winehq.org
Mon Nov 30 09:10:30 CST 2009


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







More information about the wine-users mailing list