2016-01-04 02:00:06 -05:00
|
|
|
import string:*
|
|
|
|
|
import mem:*
|
|
|
|
|
|
|
|
|
|
fun system(call_string: string):int {
|
|
|
|
|
var c_call_string = call_string.toCharArray()
|
|
|
|
|
var result = system(c_call_string)
|
|
|
|
|
delete(c_call_string)
|
|
|
|
|
return result
|
|
|
|
|
}
|
2016-04-30 15:38:28 -04:00
|
|
|
ext fun system(call_string: *char): int
|
|
|
|
|
ext fun exit(code: int):void
|
2016-02-09 04:16:03 -05:00
|
|
|
fun exit() exit(0);
|
2016-01-04 02:00:06 -05:00
|
|
|
|