fork download
  1. #include <stdio.h>
  2.  
  3. typedef struct {
  4. char *a;
  5. char *b;
  6. char *c;
  7. } gchar;
  8.  
  9. int main(void) {
  10. char list[2][20] = {"./Hello.exe", "World"};
  11. gchar **command = (gchar **)&(gchar){
  12. (char *)&list[0],
  13. (char *)&list[1],
  14. NULL,
  15. };
  16. return 0;
  17. }
  18.  
Success #stdin #stdout 0s 9288KB
stdin
Standard input is empty
stdout
Standard output is empty