cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
execute another program from a... progra
execute another program from a... program
Apr 29, 2020 at 8:55pm UTC
urundead
(7)
Let's say a I have a compiled a code in linux and the result is a.out.
Can i write some code that at some point calls ./a.out -t smth?
1
2
3
int
x = 0; x = ./a.out -t smth;
return
x;
Last edited on
Apr 29, 2020 at 8:55pm UTC
Apr 29, 2020 at 9:03pm UTC
zapshe
(1907)
This will have the information you likely are looking for:
https://stackoverflow.com/questions/15435994/how-do-i-open-an-exe-from-another-c-exe
Topic archived. No new replies allowed.