Sha256: 9802299ad4a8a255903ec732d6af3df08b5d35a2d03a7768d1cd11ad1b1ea990

Contents?: true

Size: 386 Bytes

Versions: 1

Compression:

Stored size: 386 Bytes

Contents

#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>

int main (int argc, const char * argv[]) {
  char *executable = NULL;
  char *exec_args[argc + 1];
  int i;
  
  executable = getenv("REAL_EXECUTABLE");
  exec_args[0] = executable;
  
  for (i = 1; i < argc; i++) {
    exec_args[i] = (char *) argv[i];
  }
  
  exec_args[argc] = NULL;
  return execv(executable, exec_args);
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xpcomcore-rubygem-0.6.0 ext/stub_runners/darwin/src/stub_runner.c