Process2.c 472 B

1234567891011121314151617
  1. /* -*- mode:c; c-file-style:"k&r"; c-basic-offset: 4; tab-width:4; indent-tabs-mode:nil; mode:auto-fill; fill-column:78; -*- */
  2. /* vim: set ts=4 sw=4 et tw=78 fo=cqt wm=0: */
  3. #include "pal.h"
  4. #include "pal_debug.h"
  5. #include "api.h"
  6. int main (int argc, char ** argv, char ** envp)
  7. {
  8. PAL_STR args[2] = { "Child", 0 };
  9. PAL_HANDLE child = DkProcessCreate(NULL, 0, args);
  10. if (child)
  11. pal_printf("Create Process without Executable OK\n");
  12. return 0;
  13. }