| File src/utils/utils.c changed (mode: 100644) (index aec0eac80..7ecb1b991) |
| 47 |
47 |
#include "../ui/cancellation.h" |
#include "../ui/cancellation.h" |
| 48 |
48 |
#include "../background.h" |
#include "../background.h" |
| 49 |
49 |
#include "../registers.h" |
#include "../registers.h" |
|
50 |
|
#include "../status.h" |
| 50 |
51 |
#include "env.h" |
#include "env.h" |
| 51 |
52 |
#include "file_streams.h" |
#include "file_streams.h" |
| 52 |
53 |
#include "fs.h" |
#include "fs.h" |
| |
| ... |
... |
int |
| 65 |
66 |
vifm_system(char command[]) |
vifm_system(char command[]) |
| 66 |
67 |
{ |
{ |
| 67 |
68 |
#ifdef _WIN32 |
#ifdef _WIN32 |
| 68 |
|
system("cls"); |
|
|
69 |
|
/* The check is primarily for tests, otherwise screen is reset. */ |
|
70 |
|
if(curr_stats.load_stage != 0) |
|
71 |
|
{ |
|
72 |
|
system("cls"); |
|
73 |
|
} |
| 69 |
74 |
#endif |
#endif |
| 70 |
75 |
LOG_INFO_MSG("Shell command: %s", command); |
LOG_INFO_MSG("Shell command: %s", command); |
| 71 |
76 |
return run_in_shell_no_cls(command); |
return run_in_shell_no_cls(command); |