質問編集履歴

1

修正

2019/02/06 06:30

投稿

sequelanonymous
sequelanonymous

スコア123

test CHANGED
File without changes
test CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
 
18
18
 
19
- if os.fork():
19
+ if os.fork(): #os.fork()が実行されると0が返却され、子プロセスはelse内の処理に入りprint文を実行する
20
20
 
21
21
  print(f'親プロセス: {os.getpid()}')
22
22