HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Invoking an executable.
Operating System - Linux
1828189
Members
2338
Online
109975
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2002 11:39 PM
09-30-2002 11:39 PM
Invoking an executable.
Well, this is basically covered in a programming topic, but, how does one execute another binary from a c code? like the system function in perl. how does one achieve the same on linux?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2002 12:31 AM
10-01-2002 12:31 AM
Re: Invoking an executable.
hi
i am not good at programming but there exists a system function in C as well to call an external binary/script.
regards
balaji
i am not good at programming but there exists a system function in C as well to call an external binary/script.
regards
balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2002 01:18 AM
10-01-2002 01:18 AM
Re: Invoking an executable.
yes, and its execle() but the problem is that these functions dont return control to the calling prog. i need control back after the prog. ends.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2002 01:49 AM
10-01-2002 01:49 AM
Re: Invoking an executable.
Hi
I'm no coder, but you have a system function in c as well, where you can call an external binary to be executed:
system("/path/to/executable_to_run");
This works when calling a shell script at least, and I'm able to return control to the c program after calling the shell script.
rgds Bjoern.
I'm no coder, but you have a system function in c as well, where you can call an external binary to be executed:
system("/path/to/executable_to_run");
This works when calling a shell script at least, and I'm able to return control to the c program after calling the shell script.
rgds Bjoern.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP