forked from cory/tildefriends
Grarrgh. Build.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4853 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
22bf046643
commit
a12f2fec5a
@ -2138,11 +2138,12 @@ static JSValue _tf_task_setTimeout(JSContext* context, JSValueConst this_val, in
|
|||||||
|
|
||||||
static JSValue _tf_task_pokeSandbox(JSContext* context, JSValueConst this_val, int argc, JSValueConst* argv)
|
static JSValue _tf_task_pokeSandbox(JSContext* context, JSValueConst this_val, int argc, JSValueConst* argv)
|
||||||
{
|
{
|
||||||
|
int result = 0;
|
||||||
#if TARGET_OS_IPHONE
|
#if TARGET_OS_IPHONE
|
||||||
tf_printf("Not sure what we can try to poke on iOS.\n");
|
tf_printf("Not sure what we can try to poke on iOS.\n");
|
||||||
#else
|
#else
|
||||||
tf_printf("Poking sandbox.\n");
|
tf_printf("Poking sandbox.\n");
|
||||||
int result = system("pwd");
|
result = system("pwd");
|
||||||
tf_printf("Sandbox poked.\n");
|
tf_printf("Sandbox poked.\n");
|
||||||
#endif
|
#endif
|
||||||
return JS_NewInt32(context, WEXITSTATUS(result));
|
return JS_NewInt32(context, WEXITSTATUS(result));
|
||||||
|
Loading…
Reference in New Issue
Block a user