BAGS Fix
This commit is contained in:
parent
ab230ab630
commit
5ca6bd7979
8
wincmd.h
8
wincmd.h
@ -95,6 +95,10 @@ int _lib_wincmd_main(int argc, char** argv) {
|
|||||||
pos ++;
|
pos ++;
|
||||||
}
|
}
|
||||||
int stat;
|
int stat;
|
||||||
|
if (system("echo -n \"Wine API (CMD) \" && wine --version") != EXIT_SUCCESS) {
|
||||||
|
wincmd_error("Unable to find critical dependencies for running the CMD.EXE shell!");
|
||||||
|
return EXIT_FAILURE;
|
||||||
|
}
|
||||||
if (get_command == true) {
|
if (get_command == true) {
|
||||||
stat = system(command_buffer);
|
stat = system(command_buffer);
|
||||||
if (stat != EXIT_SUCCESS) {
|
if (stat != EXIT_SUCCESS) {
|
||||||
@ -103,10 +107,6 @@ int _lib_wincmd_main(int argc, char** argv) {
|
|||||||
}
|
}
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
if (system("echo -n \"Wine API (CMD) \" && wine --version") != EXIT_SUCCESS) {
|
|
||||||
wincmd_error("Unable to find critical dependencies for running the CMD.EXE shell!");
|
|
||||||
return EXIT_FAILURE;
|
|
||||||
}
|
|
||||||
if ((stat = system("wine cmd.exe")) != EXIT_SUCCESS) {
|
if ((stat = system("wine cmd.exe")) != EXIT_SUCCESS) {
|
||||||
printf("\033[1mwincmd: \033[91mThe program terminates with status %d!\033[0m\n", stat);
|
printf("\033[1mwincmd: \033[91mThe program terminates with status %d!\033[0m\n", stat);
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user