My favorites | Sign in
Project Home Wiki Issues Source
Checkout   Browse   Changes  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
* main.c
* PythonTemplate
*
* Created by Ezequiel Aceto on 5/14/11.
* Copyright 2011 Xenat. All rights reserved.
*
*/

#include <stdio.h>
#include "SDL.h"
#include "PDL.h"


int main (int argc, char *argv[]) {

/// try to lunch simple script in order to detect if Python is present
if (system("/media/internal/python/bin/python foo.py")) {
/// Execute Python with "main.py" as entry point
system("/media/internal/python/bin/python main.py");
}
else{
/// Python not present

/// launch App Catalog pointing to "Python"
}
exit(EXIT_SUCCESS);
}


Change log

r3 by ezequiel.aceto on May 15, 2011   Diff
First commit of binaries, template and
installer project
Go to: 
Project members, sign in to write a code review

Older revisions

r2 by ezequiel.aceto on May 15, 2011   Diff
First commit of binaries, template and
installer project
All revisions of this file

File info

Size: 576 bytes, 30 lines
Powered by Google Project Hosting