On Tue, 29 Aug 2017 16:38:05 +0200, Mike Wey wrote:

Where you are passing &v to spawnSync expects a void to some data it <br>will pass along to the childSetup function, if you want to pass the <br>delegate as the data you might be able to cast it to void.

I tried to run a custom command in the Terminal Widget.

output.spawnAsync(
                      VtePtyFlags.DEFAULT,   // VTE FLags
                      "/tmp/",               // Working Directory
                      array(["/bin/bash"]),  // command and args
                      array([""]),           // Env
                      GSpawnFlags.DEFAULT,   // Spawn flags
                      null,                  // Child setup function
                      null,                  // args for the above function
                      null,                  // child setup destroy function
                      30 * 1000,             // Timeout
                      signal,                // gtk.Cancellable
                      null,                  // Teminal spawn callback
                      null                   // args for above function
                      );

I'm getting segfault. what am I doing wrong?