+ sigset_t newsigblock, oldsigblock, defaultsig;
+ posix_spawnattr_t attr;
+ short flags = POSIX_SPAWN_SETSIGMASK;
+ const char *argv[] = {"sh", "-c", command, NULL};
+
+#if __DARWIN_UNIX03
+ if (__unix_conforming == 0)
+ __unix_conforming = 1;
+#ifdef VARIANT_CANCELABLE
+ pthread_testcancel();
+#endif /* VARIANT_CANCELABLE */
+#endif /* __DARWIN_UNIX03 */
+
+ if (!command) { /* just checking... */
+ if (access(_PATH_BSHELL, F_OK) == -1) /* if no sh or no access */
+ return(0);
+ else
+ return(1);
+ }