Process3.c 366 B

1234567891011121314151617
  1. #include "api.h"
  2. #include "pal.h"
  3. #include "pal_debug.h"
  4. int main(int argc, char** argv, char** envp) {
  5. PAL_STR args[1] = {0};
  6. // Hack to differentiate parent from child
  7. if (argc == 1) {
  8. PAL_HANDLE child = DkProcessCreate(NULL, args);
  9. if (child)
  10. pal_printf("Create Process without Executable OK\n");
  11. }
  12. return 0;
  13. }