#9774: Allow re-running a program -------------------------------------+---------------------------- Reporter: bonefish | Owner: anevilyak Type: enhancement | Status: in-progress Priority: normal | Milestone: Unscheduled Component: Applications/Debugger | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 0 | Platform: All -------------------------------------+---------------------------- Comment (by anevilyak): Replying to [comment:3 axeld]: > I see two and a half way around that: > 1) Implement proper argument retrieval from the kernel. IIRC they are stored there completely, anyway, already. I'd initially hoped this was just an ABI compatibility limitation due to the definition of the team_info struct, but unless I'm drastically misunderstanding the code, http://haiku.it.su.se:8180/source/xref/headers/private/kernel/thread_types.h#395 suggests that the kernel-side Team object also only preserves the first 64 characters, so it'd seem handling this properly would require more than just an alternative syscall for argument retrieval. > 2) Ignore the command line options of attached teams, or don't even offer the option of restarting those. Alternatively, one could open a window where you can alter the command line for the next run. Not offering the option was what I was leaning towards initially. Opinions welcome. -- Ticket URL: <http://dev.haiku-os.org/ticket/9774#comment:4> Haiku <http://dev.haiku-os.org> Haiku - the operating system.