ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ns_dev/CHAI_Connector.cpl
Revision: 1
Committed: Sat May 5 03:48:38 2012 UTC (13 years, 10 months ago) by ninoborges
Content type: application/cpl+xml
File size: 496 byte(s)
Log Message:
Initial Import

File Contents

# User Rev Content
1 ninoborges 1 main()
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\Concordance_Connector.py";
12     agrumentString = stringScript + " " + str(ssmd*sslst);
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