mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +00:00
More Sun OS crap.
This commit is contained in:
6
window.c
6
window.c
@ -1,4 +1,4 @@
|
||||
/* $Id: window.c,v 1.42 2008-06-18 19:34:50 nicm Exp $ */
|
||||
/* $Id: window.c,v 1.43 2008-06-18 20:11:25 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -37,9 +37,11 @@
|
||||
#ifdef USE_PTY_H
|
||||
#include <pty.h>
|
||||
#else
|
||||
#ifndef NO_FORKPTY
|
||||
#include <util.h>
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "tmux.h"
|
||||
|
||||
@ -185,7 +187,7 @@ window_create(const char *name,
|
||||
fatal("putenv failed");
|
||||
}
|
||||
sigreset();
|
||||
log_debug("started child: cmd=%s; pid=%d", cmd, getpid());
|
||||
log_debug("started child: cmd=%s; pid=%d", cmd, (int) getpid());
|
||||
log_close();
|
||||
|
||||
execl(_PATH_BSHELL, "sh", "-c", cmd, (char *) NULL);
|
||||
|
Reference in New Issue
Block a user