| 1 |
ninoborges |
1 |
main(int moduleSelection)
|
| 2 |
|
|
{
|
| 3 |
|
|
|
| 4 |
|
|
int db, ssmd,sslst, shoot;
|
| 5 |
|
|
text Null, string1, string2, stringScript, agrumentString, snapFileName;
|
| 6 |
|
|
|
| 7 |
|
|
string1 = getcwd();
|
| 8 |
|
|
string2 = db.database;
|
| 9 |
|
|
time(Null,Null,ssmd);
|
| 10 |
|
|
sslst = clock();
|
| 11 |
|
|
stringScript = "C:\Test_dir\mCHAI.py";
|
| 12 |
|
|
agrumentString = stringScript + " " + str(ssmd*sslst) + " " + str(moduleSelection);
|
| 13 |
|
|
snapFileName = "c:\test_dir\Chai_Lte_Jobs\" + str(ssmd*sslst) + ".snp";
|
| 14 |
|
|
shoot = 1;
|
| 15 |
|
|
|
| 16 |
|
|
snapshot(db,snapFileName,shoot);
|
| 17 |
|
|
|
| 18 |
|
|
spawn("c:\Python25\python.exe",agrumentString);
|
| 19 |
|
|
|
| 20 |
|
|
}
|
| 21 |
|
|
|