^Z causes time to exit

Bug #2025172 reported by themusicgod1
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
time (Ubuntu)
New
Undecided
Unassigned

Bug Description

sometimes you're running a program that's been taking awhile, and you want to pause it, maybe to make sure that it's still actually doing something, or to examine its state

but if you use your shell to send ^Z to the program, time interprets that as time to exit:

example

time sleep 2390438903
^Z
[1]+ Stopped sleep 2390438903

real 0m0.792s
user 0m0.000s
sys 0m0.000s

what should probably happen
time sleep 2390438903
^Z
$ fg
real blahblah
user blahblah
sys blahblah

time:
  Installed: 1.9-0.1build2
  Candidate: 1.9-0.1build2
  Version table:
 *** 1.9-0.1build2 500
        500 http://muug.ca/mirror/ubuntu jammy/main amd64 Packages
        100 /var/lib/dpkg/status

ubuntu jammy 22.04.2 LTS

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: time 1.9-0.1build2
Uname: Linux 6.0.7-gnulibre-squashfix x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Tue Jun 27 12:06:54 2023
InstallationDate: Installed on 2017-04-18 (2260 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
SourcePackage: time
UpgradeStatus: Upgraded to jammy on 2023-06-14 (12 days ago)
mtime.conffile..etc.apport.crashdb.conf: 2020-06-07T21:16:26.397404

Revision history for this message
themusicgod1 (themusicgod1) wrote :
tags: added: lunar mantic
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.