C file for opening calc

This commit is contained in:
Brendan Malone
2022-06-02 14:56:00 -05:00
committed by GitHub
parent 5b1111f223
commit 7748526bd4
+8
View File
@@ -0,0 +1,8 @@
#include <stdio.h>
#include <stdlib.h>
int system(const char *command);
__attribute__((constructor))
static void customConstructor(int argc, const char **argv)
{
system("open -a Calculator.app");
}