|
From: | Mario Alejandro Leiva |
Subject: | Pass parameters to the binary file |
Date: | Sat, 21 Jul 2018 19:41:24 -0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Good Morning:I wanted to know if it is possible to send parameters when executing a binary compiled in linux. This is because my executable needs to take the facts from a program that the user enters.
In summary, what I want to know is whether it is possible to compile a pl file and be able to pass a parameter to the resulting executable file. For example, if my executable is ' test ', I can run it by passing it a text file of the form: % test 'textfile'. In this way I intend that the executable take that file and perform a consult(' textfile ').
Thank you very much for the information, as you will know, I am new using the compiler.
Greetings. -- Mario A. Leiva
[Prev in Thread] | Current Thread | [Next in Thread] |