Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: running system commands, and getting return codes/status

by Marshall (Canon)
on Nov 27, 2021 at 01:28 UTC ( #11139158=note: print w/replies, xml ) Need Help??


in reply to running system commands, and getting return codes/status

Please post a short runnable example of your problem.
Don't post your whole GUI code. Just create a small runnable file that demonstrates this issue.

I don't understand this: "The command gets executed before the message gets displayed in the text widget.". What?

  • Comment on Re: running system commands, and getting return codes/status

Replies are listed 'Best First'.
Re^2: running system commands, and getting return codes/status
by Anonymous Monk on Nov 27, 2021 at 15:51 UTC

    The program I am working on is 1500L long. This is part of a subroutine that gets called. If I can get this to work, I have another subroutine with the same prob -- it executes a different command. This actually looks like a useful subroutine. (does such a codeblock/subroutine resist on 'monks/CPAN?)

      The program I am working on is ... long.

      Please see Short, Self-Contained, Correct Example for a longer discussion of what a "short runnable example" might look like. It is noted therein that just putting together such an example may clarify the problem enough for you so that you don't need to ask anyone else. Building an SSCCE should probably be considered a part of standard debugging praxis.


      Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11139158]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2022-05-24 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (82 votes). Check out past polls.

    Notices?