Skip to content

Commit

Permalink
Merge pull request #23 from balaji303/v3.1
Browse files Browse the repository at this point in the history
V3.1
  • Loading branch information
balaji303 authored Sep 25, 2021
2 parents 94d4966 + 9df4c3c commit 0e81c37
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions App/CDE.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def compile_fun(self,e):
with open( "program.c","w" ) as cfile:
cfile.write(code)
cfile.close()
os.system("gcc program.c -o program")
os.system(".\program")
subprocess.call('gcc program.c -o program', shell=False)
subprocess.call('.\program', shell=False)
elif language == 'C++':
with open( "program.cpp","w" ) as cppfile:
cppfile.write(code)
Expand All @@ -64,7 +64,7 @@ def compile_fun(self,e):
subprocess.call('python program.py', shell=False)
else:
print("Error")
return

if __name__ == '__main__':
app = wx.App(False)
app_gui = GUI(None)
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# CD-E Your IDE

[![CodeFactor](https://www.codefactor.io/repository/github/balaji303/cde/badge/main)](https://www.codefactor.io/repository/github/balaji303/cde/overview/main)

CD-E is a

* Very small size,
Expand Down

0 comments on commit 0e81c37

Please sign in to comment.