mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-29 22:51:51 +03:00
a6555549ee
To be able to eventually refactor/extend `system` function: to be able to specify a directory, environment variables, specify arguments as array etc. Ideally it should be something like Rust [`std::process::Command`](https://doc.rust-lang.org/std/process/struct.Command.html).
7 lines
118 B
C
7 lines
118 B
C
#include <stdlib.h>
|
|
#include "idris_system.h"
|
|
|
|
int idris2_system(const char* command) {
|
|
return system(command);
|
|
}
|