Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Commit 650bb4f

Browse files
committed
add gettid and pass argv
1 parent 7b0db3a commit 650bb4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/task.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ pub fn exec(name: &str, args: &[String], envs: &[String]) -> AxResult<()> {
352352
let current_task = current();
353353

354354
let program_name = name.to_string();
355-
355+
356356
let mut aspace = current_task.task_ext().aspace.lock();
357357
if Arc::strong_count(&current_task.task_ext().aspace) != 1 {
358358
warn!("Address space is shared by multiple tasks, exec is not supported.");

0 commit comments

Comments
 (0)