TNO / Rejuvenation-Ada

Analysis and manipulation of Ada software based on concrete syntax
BSD 3-Clause "New" or "Revised" License
22 stars 1 forks source link

Hide GNATPP message for user #7

Open pjljvandelaar opened 2 years ago

pjljvandelaar commented 2 years ago

The rejuvenation library checks whether GNATPP is installed (accesible on the path).

In case Gnatpp is not installed, the behaviour is as desired.

In case GnatPP is installed, the user is shown the gnatpp version info. This might confuse the user, so could you hide this message?

pjljvandelaar commented 2 years ago

Asked AdaCore for Alternative for "system" POSIX call but with redirection.

pjljvandelaar commented 2 years ago

Suggestions are

PS If you ever need more flexibility in creating child processes, you might want to have a look at https://github.com/AdaCore/spawn, but it will likely be an overkill for what you required on this TN.