Python Forum
Redirection giving faulty results
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Redirection giving faulty results
#4
Then you can perhaps try
Output:
script --return --quiet -c "grgsm_scanner" alpha.txt
or
Output:
script --return --quiet -c "grgsm_scanner | tee alpha.txt" /dev/null
to let the program think that is is being called from a terminal instead of a shell script.
Reply


Messages In This Thread
Redirection giving faulty results - by monstrup - Jul-18-2020, 09:32 PM
RE: Redirection giving faulty results - by monstrup - Jul-18-2020, 10:22 PM
RE: Redirection giving faulty results - by Gribouillis - Jul-19-2020, 05:51 AM
RE: Redirection giving faulty results - by monstrup - Jul-19-2020, 06:35 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Search Results Web results Printing the number of days in a given month and year afefDXCTN 1 2,292 Aug-21-2020, 12:20 PM
Last Post: DeaD_EyE
  Two exact "Fors" giving me different results? FilGonca 2 2,095 May-04-2020, 12:36 PM
Last Post: FilGonca
  How to append one function1 results to function2 results SriRajesh 5 3,252 Jan-02-2020, 12:11 PM
Last Post: Killertjuh
  My first program is a bit faulty. Please Help. Manjushri 3 2,258 Dec-06-2019, 01:12 PM
Last Post: snippsat
  Help with faulty code. Wilson1218 1 2,902 Jun-14-2017, 09:15 AM
Last Post: wavic
  Why are two similar bits of code giving different results? godmode 10 10,121 Dec-15-2016, 09:53 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020